This Mit Fried und Freud
is an SATB 12-bar arrangement taken from Johannes Brahms
's Motet op. 74, no. 1 Warum ist das Licht gegeben
of which it is the final chorale,
I got to sing the bass part when a member of Collegium Musicum Bremen
in the late 1990's.. The words are expressively of dying peacefully ("sanft und stille") whereby sleep is replaced by death.
The arrangement can be found in Chor Aktuell
published by Gustav Bosse Verlag