In another narration Messenger of Allah (ﷺ) said, "Whoever wants to visit a graveyard, let him do so, because it reminds us of the Hereafter."
[Muslim].
وفي رواية "فمن أراد أن يزور القبور فليزر؛ فإنها تذكرنا الآخرة "
Reference | : Riyad as-Salihin 580 |
In-book reference | : Introduction, Hadith 580 |