Abu Saeed Khudri reported,

Abu Saeed Khudri was approached during the nights of al-Harrah by a man who consulted him about leaving Madinah, complaining to him about its high prices and his large family, and informing him that he could not endure the hardship and harshness of Madinah.Abu Saeed said to him, "Woe to you, I will not advise you to do that. I heard the Messenger of Allah ﷺ say, 'No one endures its harshness and dies there but I will be an intercessor or a witness for him on the Day of Resurrection, provided he is a Muslim.'"

Azami 10634

Sahih

عن أبي سعيد مولى المهري أنه جاء

أبا سعيد الخدري ليالي الحرة فاستشاره في الجلاء من المدينة، وشكا إليه أسعارها وكثرة عياله، وأخبره أن لا صبر له على جهد المدينة ولأوائها فقال له: ويحك لا آمرك بذلك إني سمعت رسول الله ﷺ يقول: لا يصبر على لأوائها فيموت إلا كنت له شفيعا أو شهيدا يوم القيامة إذا كان مسلما.

الأعظمي 10634صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Virtues of the lands
Chapter
Virtue of the Prophet's Madinah
Section
Virtue of those who were patient through the hardship of Madinah
Numbering
Jami al-Kamil 10634 (2nd edition)
Azami 10634