Riyad as-Salihin #1599 · The Book of the Prohibited actions

Riyad as-SalihinAbdullah ibn Masud
Riyad as-Salihin · Book 18 · The Book of the Prohibited actions
Riyad as-Salihin · كتاب 18 · كتاب الأمور المنهي عنها
The Messenger of Allah (صلى الله عليه وسلم) said, "When three of you are together, two of you must not converse privately ignoring the third till the number increases, lest the third should be grieved." [Al-Bukhari and Muslim] .
وعن ابن مسعود رضي الله عنه أن رسول الله صلى الله عليه وسلم قال:
"إذا كنتم ثلاثة، فلا يتناجى اثنان دون الآخر حتى تختلطوا بالناس، من أجل أن ذلك يحزنه" ((متفق عليه)).
Reference : Riyad as-Salihin 1599In-book reference : Book 18, Hadith 89