It wasnarrated from Asid bin Abu Asid, from Musa bin Abu Musa Ash'ari,from his father that the Prophet (ﷺ) said:
"The deceased ispunished for the weeping of the living. If they say: 'O mystrength, O he who clothed us, O my help, O my rock,' and so on, heis rebuked and it is said: 'Were you really like that? Were youreally like that?'" Asid said: "I said: 'Subhan-Allah! Allah says: "And no bearer of burdens shall another's burden (35:18)." He said: "Woe to you, I tell you that Abu Musa narrated to me from the Messenger of Allah (ﷺ), and you think that Abu Musa was telling lies about the Prophet (ﷺ)? Or do you think that I am telling lies about Abu Musa?"
English reference: Vol. 1, Book 6, Hadith 1594
Arabic reference: Book 6, Hadith 1662