The Book of Funerals
Sunan an-Nasā'ī 2034
رَبِّي عَزَّ وَجَلَّ فِي أَنْ أَسْتَغْفِرَ لَهَا فَلَمْ يُؤْذَنْ لِي، وَاسْتَأْذَنْتُ فِي أَنْ أَزُورَ قَبْرَهَا فَأَذِنَ لِي، فَزُورُوا الْقُبُورَ فَإِنَّهَا تُذَكِّرُكُمُ الْمَوْتَ
rabbī ʿazza wajalla fī an astaghfira lahā falam yuʾdhan lī, wāstaʾdhantu fī an azūra qabrahā fa-adhina lī, fazūrūā al-qubūra fa-innahā tudhakkirukumu al-mawta
Transliteration generated from the Arabic vowel marks
The full narration
It was narrated that Abu Hurairah said:"The Messenger of Allah visited the grave of his mother and wept, and caused those around him to weep. He said: 'I asked my Lord for permission to pray for forgiveness for her and He did not give me permission, and I asked Him for permission to visit her grave and He gave me permission, so visit the graves, for they will remind you of death
Source
Sunan an-Nasā'ī · 2034
- Abu Ghuddah: Sahih
- Al-Albani: Sahih
- Zubair Ali Zai: Sahih Muslim