"The Shepherd on the Rock" (‹See Tfd›German: Der Hirt auf dem Felsen), D. 965, is a Lied for soprano, clarinet, and piano by Franz Schubert. It was composed in 1828 during the final months of his life.