Sunan an-Nasa'i, Book 21, Hadith 118 (Nasa'i 1940)

It was narrated that 'Aishah said:

"Something bad was said in the presence of the Prophet about a person who had died. He said: 'Do not say anything but good about your dead."'