Anas bin Malik (RA) 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.
Hadith ReferenceSahih Muslim / The Book of Musaqah / Hadith: 1553