Narrated 'Abdullah:
that the Messenger of Allah (ﷺ) said: "Whenever there are three of you, then let two not converse in exclusion of their companion." (PT)
English reference (PT): Vol. 5, Book 41, Hadith 2825 (PT)
Arabic reference (PT): Book 43, Hadith 3059 (PT)