Sunan Ibn Majah, Book 36, Hadith 107 (Ibn Majah 4035)

It was narrated from Ibn ‘Umar that the Messenger of Allah (ﷺ) said:

“The believer who mixes with people and bears their annoyance with patience will have a greater reward than the believer who does not mix with people and does not put up with their annoyance.”