حَدَّثَنَا مُسَدَّدٌ، حَدَّثَنَا عَبْدُ الْوَارِثِ، عَنْ أَيُّوبَ، عَنْ حَفْصَةَ، عَنْ أُمِّ عَطِيَّةَ، قَالَتْ إِنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم نَهَانَا عَنِ النِّيَاحَةِ ‏.‏
Translation
Narrated Ibn 'Umar

The Messenger of Allah (ﷺ) as saying: The dead is punished because of his family's weeping for him. When this was mentioned to 'Aishah, she said: Ibn 'Umar forgot and made a mistake. The Prophet (ﷺ) passed by grave and he said: The man in the grave is being punished while his family is weeping for him. She then recited: "No bearer of burdens can bear the burden of another."

The narrator Abu Mu'awiyyah said: (The Prophet passed) by the grave of a Jew.