قَالَ النَّبِيُّ صلى الله عليه وسلم {إِذَا كُنْتُمْ ثَلاَثَةً فَلاَ يَتَنَاجَى رَجُلاَنِ دُونَ الآخَرِ، حَتَّى تَخْتَلِطُوا بِالنَّاسِ، أَجْلَ أَنْ يُحْزِنَهُ}.
Narrated `Abdullah:The Prophet (ﷺ) said, "When you are three persons sitting together, then no two of you should hold secret counsel excluding the third person until you are with some other people too, for that would grieve him
قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم " إِذَا كُنْتُمْ ثَلاَثَةً فَلاَ يَتَنَاجَى اثْنَانِ دُونَ الآخَرِ حَتَّى تَخْتَلِطُوا بِالنَّاسِ مِنْ أَجْلِ أَنْ يُحْزِنَهُ " .
Abdullah reported Allah's Messenger (ﷺ) as saying:If you are three, two amongst you should not converse secretly between yourselves to the exclusion of the other (third one), unti some other people join him (and dispel his loneliness), for it may hurt his feelings
قَالَ رَسُولُ اَللَّهِ - صلى الله عليه وسلم -{ إِذَا كُنْتُمْ ثَلَاثَةً, فَلَا يَتَنَاجَى اِثْنَانِ دُونَ اَلْآخَرِ, حَتَّى تَخْتَلِطُوا بِالنَّاسِ; مِنْ أَجْلِ أَنَّ ذَلِكَ يُحْزِنُهُ } مُتَّفَقٌ عَلَيْهِ, وَاللَّفْظُ لِمُسْلِمٍ. 1 .1 - صحيح. رواه البخاري (6290)، ومسلم (2184)، وليس عند مسلم لفظ" ذلك".
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.