Sayyiduna Salman al-Farisi (may Allah be pleased with him) narrates that the Prophet (peace and blessings be upon him) said: "Whoever dies in either of the two Sanctuaries (Makkah and Madinah), my intercession becomes due for him, and on the Day of Resurrection he will be among those who are safe."
Al-Tabarani recorded it in al-Mu'jam al-Kabir. Its chain contains Abd al-Ghafur bin Sa'id, who is matruk (abandoned).
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الجنائز / 3889