Sahih al-Bukhari, Book 81, Hadith 105 (Bukhari 6277)

Narrated `Aisha:

The Prophet (ﷺ) said, "Do not abuse the dead, for they have reached the result of what they have done."