Actually that's a mihrab which were constructed in the olden days for the sound of the recruiter to be amplified. The mihrab is a part of the culture and not necessary for worship. Additionally, no one would slaughter you in your bed for not being a Muslim.
The pyramids you prayed in were the satanic symbol and not the mosque.