It was narrated from Abu Hurairah that the Messenger of Allah (ﷺ) said:
“Visit the graves, for they will remind you of the Hereafter.”