Sunan an-Nasa'i, Book 21, Hadith 92 (Nasa'i 1914)

Abu Sa'eed Al-Khudri said:

"The Messenger of Allah said: 'When the Janazah (prepared body) is placed (on the bier) and the men lift it onto their shoulders, if it was a righteous person it says: Take me quickly, take me quickly. And if it was not a righteous person it says: Woe to me! Where are you taking me! And everything hears its voice except man, and if man heard it he would faint."'