I am a woman who lets her hem trail long, and I walk through dirty places.Umm Salama replied, the Messenger of Allah ﷺ said, "What comes after it purifies it."
حدثنا عبد الله بن مسلمة عن مالك عن محمد بن عمارة بن عمرو بن حزم عن محمد بن إبراهيم عن أم ولد لإبراهيم بن عبد الرحمن بن عوف أنها سألت
إني امرأة أطيل ذيلي وأمشي في المكان القذر فقالت أم سلمة قال رسول الله ﷺ يطهره ما بعده
[Hasan]: Tirmidhi collected it in the chapters on Taharah, in the chapter on wudu from touching, no. 143, and Ibn Majah, no. 531, from the hadith of Malik through the same chain, and it is found in the Muwatta (Yahya), 24/1, and (Qanabi), p. 47, (48). Abdullah bin Idris also narrated it from Muhammad bin Umara through the same chain, and Ibn Jarud, no. 142. The hadith has supporting narrations, including the hadith that follows.