Getting Killed For Going To Mosque
In principle, a shaheed is a person killed serving in the path of God. We can’t conclusively tell who is granted this status. If a person who risks his life to go to mosque, depending upon the circumstances he might be granted this status or may have to answer to God that if he knew of the danger then why did he knowingly put himself through it. As a side note we should refrain from trying to come up with conclusive rulings for hypothetical examples.