I’m inclined to believe Satan was the angel that embraced Muhammad in the cave and went on to deceive him to create Islam.
I don’t believe Satan ‘lives’ with us but can move between the three heavens as inferred in the Bible.
He always needs God’s permission to test a person, even a righteous person like Job. Demons must, therefore, have the same requirement of permission as they are led by Satan.