Jami` at-Tirmidhi, Book 10, Hadith 16 (Tirmidhi 982)
[Alqamah narrated:
"I heard Abdullah saying: 'I heard the Messenger of Allah saying: "The believer's soul seeps out, and I do not like the death like that of a donkey." They said: "And what is the death of a donkey?" He said: "A sudden death."]