Jami` at-Tirmidhi, Book 10, Hadith 55 (Tirmidhi 1021)

Ibn Umar narrated that:

The Messenger of Allah said: "Mention good things about your dead, and refrain from (mentioning) their evil."