I believe it was Ibn Umar who reported that the Prophet ﷺ said, "The believer who mingles with people and bears patiently with their harm is greater in reward than the one who neither mingles with people nor bears patiently with their harm."
حدثنا يزيد حدثنا سفيان بن سعيد عن الأعمش عن يحيى بن وثاب
أظنه ابن عمر عن النبي ﷺ قال المؤمن الذي يخالط الناس ويصبر على أذاهم أعظم أجرا من الذي لا يخالط الناس ولا يصبر على أذاهم
Its isnad is sahih, and Yahya bin Waththab is trustworthy and excellent, his hadith is in the Sahihayn. Ibn Abu Shayba narrated the hadith in this manner in 8/564, no. 6271, in the Book of Manners, and something close to it is found in Ibn Hibban but from Ibn Umar, in 2/1338, no. 4032, and Bayhaqi, 10/89.