Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
suyuti:21334a
Request/Fix translation

  

السيوطي:٢١٣٣٤a

"مَنْ حَجَّ فَزَارَ قَبْري بَعْدَ وَفَاتِي، كانَ كَمَنْ زَارَنِي في حَيَاتِي".  

أَبو الشيخ، [طب ، عد]، [ق] البيهقى في السنن عن ابن عمر

See similar narrations below:

Collected by Ṭabarānī
tabarani:13497al-Ḥusayn b. Isḥāq al-Tustarī > Abū al-Rabīʿ al-Zahrānī > Ḥafṣ b. Abū Dāwud > Layth > Mujāhid > Ibn ʿUmar

[Machine] Narrated by the Prophet ﷺ, he said, "Whoever performs Hajj and visits my grave after my death, it is as if he visited me during my lifetime."  

الطبراني:١٣٤٩٧حَدَّثَنَا الْحُسَيْنُ بْنُ إِسْحَاقَ التُّسْتَرِيُّ ثنا أَبُو الرَّبِيعِ الزَّهْرَانِيُّ ثنا حَفْصُ بْنُ أَبِي دَاوُدَ عَنْ لَيْثٍ عَنْ مُجَاهِدٍ عَنِ ابْنِ عُمَرَ

عَنِ النَّبِيِّ ﷺ قَالَ «مَنْ حَجَّ فَزَارَ قَبْرِي بَعْدَ وَفَاتِي كَانَ كَمَنْ زَارَنِي فِي حَيَاتِي»