عَنْ أَبِي هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ قَالَ: زَارَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ قَبْرَ أُمِّهِ فَبَكَى وَأَبْكَى مَنْ حَوْلَهُ، فَقَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ: ((اسْتَأْذَنْتُ رَبِّي فِي أَنْ أَسْتَغْفِرَ لَهَا فَلَمْ يُؤْذَنْ لِي وَاسْتَأْذَنْتُهُ فِي أَنْ أَزُورَ قَبْرَهَا فَأَذِنَ لِي، فَزُورُوا الْقُبُورَ فَإِنَّهَا تُذَكِّرُ الْمَوْتَ))
Sayyiduna Abu Huraira (may Allah be pleased with him) narrates that the Noble Prophet (peace and blessings be upon him) visited the grave of his mother, and he wept himself and made those with him weep as well. Then the Prophet (peace and blessings be upon him) said: I sought permission from my Lord to seek forgiveness for my mother, but I was not granted permission. Then I sought permission to visit her grave, and Allah Almighty granted me permission. So you too should visit graves, for they remind you of death.