(86) باب التَّرْغِيبِ فِي سُكْنَى الْمَدِينَةِ وَالصَّبْرِ عَلَى لأْوَائِهَا
Abu Sa'id Maula al-Mahri reported that he came to Abu Sa'id al-Khudri during the nights (of the turmoil) of al-Barrah, and sought his advice about leaving Medina, and complained of the high prices prevailing therein and his large family, and informed him that he could not stand the hardships of Medina and its rugged surrounding. He said to him:
Woe to you; I will not advise you to do it, for I heard Allah's Messenger (ﷺ) as saying: No one will endure hardships of Medina without my being an intercessor or a witness on his behalf on the Day of Resurrectiar), if he is a Muslim.
Reference: Sahih Muslim 1374 d
In-book reference: Book 15, Hadith 543
USC-MSA web (English) reference(deprecated numbering scheme): Book 7, Hadith 3175