It is narrated from Hazrat Mughirah bin Shu'bah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) forbade speaking ill of the dead, for it causes harm to the living.
Hadith Referenceمسند احمد / أول مسند الكوفيين / 18210
Hadith Gradingحکم دارالسلام:حديث صحيح، زياد بن علاقة، سمعه فى هذه الرواية عن رجل عند المغيرة، وسمعه فى الروايتين السالفتين من المغيرة نفسه