The prayer is valid in such a masjid but writing the name of Our Prophet salla Allahu alaihi wa sallam in this way next to the name of Allah is not permissible.
The prayer is valid in such a masjid but writing the name of Our Prophet salla Allahu alaihi wa sallam in this way next to the name of Allah is not permissible.