Mishkat al-Masabih 1741
وَعَنْ عَمْرَةَ بِنْتِ عَبْدِ الرَّحْمَنِ أَنَّهَا قَالَتْ: سَمِعْتُ عَائِشَةَ وَذُكِرَ لَهَا أَنَّ عَبْدَ اللَّهِ بْنَ عُمَرَ يَقُولُ: إِنَّ الْمَيِّتَ لَيُعَذَّبُ بِبُكَاءِ الْحَيِّ عَلَيْهِ تَقُولُ: يَغْفِرُ اللَّهُ لِأَبِي عَبْدِ الرَّحْمَنِ أَمَا إِنَّهُ لَمْ يَكْذِبْ وَلَكِنَّهُ نَسِيَ أَوْ أَخْطَأَ إِنَّمَا مَرَّ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ عَلَى يَهُودِيَّةٍ يُبْكَى عَلَيْهَا فَقَالَ: «إِنَّهُمْ لَيَبْكُونَ عَلَيْهَا وَإِنَّهَا لتعذب فِي قبرها»
From ʿAmrah bint ʿAbd ar-Rahman: She said: I heard ʿAʾishah, when it was mentioned to her that ʿAbdullah ibn ʿUmar says: "The deceased is punished for the weeping of the living over him," say: "May Allah forgive Abu ʿAbd ar-Rahman. He did not lie, but he forgot or made a mistake. The Messenger of Allah ﷺ only passed by a Jewish woman who was being wept over, and he said: 'They are weeping over her, and she is being punished in her grave.'"