Anas bin Malik reported,

The Prophet of Allah ﷺ entered a date palm grove belonging to Umm Mubashir, a woman from the Ansar. The Messenger of Allah ﷺ asked, "Who planted these palm trees, a Muslim or a disbeliever?"They replied, "A Muslim," and the rest of the hadith is similar to their narration.

Muslim 3974

Sahih

و حدثنا عبد بن حميد حدثنا مسلم بن إبراهيم حدثنا أبان بن يزيد حدثنا قتادة حدثنا

أنس بن مالك

أن نبي الله ﷺ دخل نخلا لأم مبشر امرأة من الأنصار فقال رسول الله ﷺ من غرس هذا النخل أمسلم أم كافر قالوا مسلم بنحو حديثهم

مسلم 3974صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Sharecropping of orchards
Chapter
Virtue of planting and cultivation
Numbering
Darussalam 3974
Muslim 3974