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 palms, a Muslim or a disbeliever?"They answered, "A Muslim."The rest is similar to their hadith. (This is how Muslim narrated it.)
أن نبي الله ﷺ دخل نخلا لأم مبشر امرأة من الأنصار فقال رسول الله ﷺ من غرس هذا النخل أمسلم أم كافر؟ قالوا مسلم. بنحو حديثهم. (كذا قال مسلم).
Muslim (1553:13) narrated it from Abd bin Humayd, who said, Muslim bin Ibrahim narrated to us, who said, Abu Aban bin Yazid narrated to us, who said, Qatada narrated to us, who said, Anas bin Malik narrated to us, and he mentioned it.