Sahih Muslim, Book 15, Hadith 550 (Muslim 3315)

Abdullah b. 'Umar (Allah be pleased with them) said:

I heard Allah's Messenger (ﷺ) 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.