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."
قَالَ النَّبِيُّ ﷺ {إِذَا كُنْتُمْ ثَلاَثَةً فَلاَ يَتَنَاجَى رَجُلاَنِ دُونَ الآخَرِ حَتَّى تَخْتَلِطُوا بِالنَّاسِ أَجْلَ أَنْ يُحْزِنَهُ}