Al-Adab Al-Mufrad, Book 47, Hadith 1168 (In-Book)

'Abdullah reported that the Messenger of Allah, may Allah bless him and grant him peace, said, "When there are three people, two should not converse together to the exclusion of the third."

حَدَّثَنَا إِسْمَاعِيلُ قَالَ‏:‏ حَدَّثَنِي مَالِكٌ، عَنْ نَافِعٍ، عَنْ عَبْدِ اللهِ، أَنَّ رَسُولَ اللهِ صلى الله عليه وسلم قَالَ‏:‏ إِذَا كَانُوا ثَلاَثَةً، فَلاَ يَتَنَاجَى اثْنَانِ دُونَ الثَّالِثِ‏.‏

sunnah.com