وَعَنْ مَحْمُودِ بْنِ لَبِيدٍ ‏- رضى الله عنه ‏- قَالَ: قَالَ رَسُولُ اَللَّهِ ‏- صلى الله عليه وسلم ‏-{ إِنَّ أَخْوَفَ مَا أَخَافُ عَلَيْكُمْ اَلشِّرْكُ اَلْأَصْغَرُ: اَلرِّيَاءُ } أَخْرَجَهُ أَحْمَدُ بِسَنَدٍ حَسَنٍ.‏ 1‏.‏

‏1 ‏- حسن.‏ رواه أحمد (5 / 428 و 429)‏ وزاد:" يقول الله ‏-عز وجل‏- لهم يوم القيامة ‏-إذا جزى الناس بأعمالهم‏-: اذهبوا إلى الذين كنتم تراءون في الدنيا فانظروا هل تجدون عندهم جزاء".‏

Translation
Ibn Mas’ud (RAA) narrated that the Messenger of Allah (ﷺ) said

“When three of you get together in company, two of you must not talk privately while isolating the third, so as not to make him feel sad (that he is left out) till you mingle with other people (i.e. you are joined by others).” Agreed upon and the wording is from Muslim.