the hymn is best known as a base for bach 's funeral motet of the same name , bwv 227 , for five vocal parts , two soprano ( s ) , alto ( a ) , tenor ( t ) and bass ( b ) , in which he alternates the stanzas of the chorale and text from paul 's epistle to the romans .