Abu Hurairah (RA) reported the Apostle of Allah (ﷺ) as saying: For one among my Ummah who shows endurance against the hardships and rigours of Madinah, I would be an intercessor or a witness on his behalf on the Day of Resurrection.
Related hadith on this topic