Sunan an-Nasa'i, Book 21, Hadith 91 (Nasa'i 1913)

It was narrated from 'Abdullah bin Mihran that Abu Huraiyrah said:

"I heard the Messenger of Allah say: 'When the righteous man is placed on his bier, he says: Take me quickly, take me quickly. And when the bad man is placed on his bier he said: Woe to me! Where are you taking me?"'