كتاب الطهارة
2  
Purity

Yahya related to me from Malik from Muhammad ibn Umara from Muhammad ibn Ibrahim that the mother of the son of Ibrahim ibn Abd ar- Rahman ibn Awf questioned Umm Salama, the wife of the Prophet, may Allah bless him and grant him peace, and said, "I am a woman who wears a long skirt and (sometimes) I walk in dirty places." Umm Salama replied, "The Messenger of Allah, may Allah bless him and grant him peace, said, 'What follows (i.e. clean places) purifies it.' "

حَدَّثَنِي يَحْيَى، عَنْ مَالِكٍ، عَنْ مُحَمَّدِ بْنِ عُمَارَةَ، عَنْ مُحَمَّدِ بْنِ إِبْرَاهِيمَ، عَنْ أُمِّ وَلَدٍ، لإِبْرَاهِيمَ بْنِ عَبْدِ الرَّحْمَنِ بْنِ عَوْفٍ أَنَّهَا سَأَلَتْ أُمَّ سَلَمَةَ زَوْجَ النَّبِيِّ صلى الله عليه وسلم فَقَالَتْ إِنِّي امْرَأَةٌ أُطِيلُ ذَيْلِي وَأَمْشِي فِي الْمَكَانِ الْقَذِرِ قَالَتْ أُمُّ سَلَمَةَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ يُطَهِّرُهُ مَا بَعْدَهُ ‏"‏ ‏.‏
USC-MSA web (English) reference : Book 2, Hadith 16
Arabic reference : Book 2, Hadith 46