Sahih Muslim, Book 39, Hadith 51 (Muslim 5641)

'Abdullah reported Allah's Messenger (ﷺ) as saying:

If you are three, two should not converse secretly to the exclusion of your companion for that hurts his feelings.