It is narrated from Sayyiduna Umar bin al-Khattab (may Allah be pleased with him) that I heard the Messenger of Allah (peace and blessings be upon him) say: "Whoever visits my grave (or he (peace and blessings be upon him) said: whoever visits me), I will be a witness or an intercessor for him; and whoever dies in one of the two Sanctuaries (Makkah or Madinah), Allah, the Mighty and Majestic, will raise him among those who are safe on the Day of Resurrection." Abu Dawud al-Tayalisi recorded this narration with a da'if (weak) chain because one Successor (Tabi'i) in it is unknown (majhul). Al-Bazzar recorded it with a long addition, and al-Bayhaqi recorded it and then declared its chain unknown (majhul). However, this hadith has a supporting narration (shahid) from the hadith of Sayyidah Subay'ah (may Allah be pleased with her), which Abu Ya'la and al-Tabarani in al-Mu'jam al-Kabir recorded with a sahih chain.
Hadith Takhrij«رواه أبو داود الطيالسي بسند ضعيف؛ لجهالة التابعي، ورواه البزار بزيادة طويلة، ورواه البيهقي وقال: إسناد مجهول، وله شاهد من حديث سبيعة رواه أبو يعلى والطبراني في الكبير بسند صحيح»