{"_id":"697b6b8d1ca1df3b43f157cd","title":"{\"ops\":[{\"insert\":\"Is prayer valid in the Masjid al-Haram when standing ahead of the imam or when women are in front or beside men?\\n\"}]}","question":"{\"ops\":[{\"insert\":\"When praying in Mecca, especially in the maṭāf area, it sometimes happens that a person is physically in front of the imam due to the circular layout around the Kaʿbah. Additionally, there are times when women may be in front of or next to a person when the congregational prayer begins, since people line up quickly. What should one do in these situations, and does the prayer still count? What is the ruling regarding this?\\n\"}]}","answer":"{\"ops\":[{\"insert\":\"There's a specific exception for praying in the Haram of Mecca: a follower may stand physically ahead of the imam (closer to the Kaaba) as long as they're not facing the same side of the Kaaba as the imam. In other words, if you're facing the same side of the Kaaba as the imam, you must stand behind him. But if you're facing a different side of the Kaaba, you may stand ahead of him.\"},{\"attributes\":{\"list\":\"ordered\"},\"insert\":\"\\n\"},{\"insert\":\"Both scenarios must be avoided. But, if you find yourself in either situation, your prayer is valid.\"},{\"attributes\":{\"list\":\"ordered\"},\"insert\":\"\\n\"}]}","tags":[{"_id":"668d9fef0b76658b4c232985","tag":"Salah: Validity","count":156},{"_id":"668d9fe60b76658b4c232875","tag":"Salah: Congregational","count":92},{"_id":"668d9ff50b76658b4c232a43","tag":"Hajj and Umrah: Other","count":39},{"_id":"668d9fdd0b76658b4c232771","tag":"Hajj and Umrah: Women","count":16}],"createdOn":"2026-01-29T14:15:41.047Z"}