There’s no plain statement in Islamic literature about Mary being sinless that I’m aware of. I do believe that Mary was born without a nafs, though. Nafs has a number of different meanings. In this context, it roughly means the human ego or lower desires. This is based on a hadith in Sahih al-Bukhari, which is a book of our oral traditions:
Narrated Said bin Al-Musaiyab: Abu Huraira said, “I heard Allah’s Apostle saying, 'There is none born among the off-spring of Adam, but Satan touches it. A child therefore, cries loudly at the time of birth because of the touch of Satan, except Mary and her child.” Then Abu Huraira recited: “And I seek refuge with You for her and for her offspring from the outcast Satan” (3.36) [Sahih al-Bukhari Book #55 Hadith #641]
As Abu Hurayrah [may Allah be pleased with him] says, this is probably due to the dua [supplication] that Mary’s mother made wherein she asked God to keep Mary and Jesus [peace be upon them] from satanic influences.
Please, Could you elaborate on the highlighted sentence.
I got this from the following website - not sure of the credibility