The Messenger of Allah ﷺ permitted the visiting of graves.
حدثنا إبراهيم بن سعيد الجوهري حدثنا روح حدثنا بسطام بن مسلم قال سمعت أبا التياح قال سمعت ابن أبي مليكة
أن رسول الله ﷺ رخص في زيارة القبور
No references are available.
[Its isnad is sahih. Bayhaqi (4/78) narrated it from the hadith of Bistam, at length, in this manner, and Dhahabi declared it sahih in Talkhis al-Mustadrak (1/376)].