The Book of Pilgrimage (Kitab Al-Hajj)

Muslim :: Book 7 : Hadith 3182

Abdullah b. 'Umar (Allah be pleased with them) said: I heard Allah's Messenger (may peace be upon him) as saying: He who patiently endured the hardships and rigours of (this city, i. e. Medina), I would be his witness and intercessor on the Day of Resurrection.

Source materials are from the University of Southern California MSA site
Hadith eBooks converted from Imaan Star