From Sahih Muslim (Hadith 3974):
Anas b. Malik (Allah be pleased with him) reported that Allah's Apostle (ﷺ) visited the date-palms of Umm Mubashshir (Allah be pleased with her), a lady from the Ansar, and said:Who planted this palm-a Muslim or an unbelievers The rest of the hadith is the same
Reference: Muslim 3974