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." (Using translation from Bukhārī 6290)
"إذَا كُنْتُمْ ثلاثةً فلا يتناجَى رجلانِ دونَ الآخر، حتَّى تختلطوا بالنَّاسِ، فإِنَّ ذلك يَحْزُنُه" .