What is the difference between a shahid and a ghazi?
A ghazi is one who fights in the cause of Allah and comes out of the struggle victorious. A shahid is one who gives his life on that path, and Allah grants him a life that never ends.
Both words describe people who fight in the cause of Allah. The difference lies in the outcome. A ghazi is not killed in the fighting but in the end comes out of it victorious. A shahid loses his life on that path.
For a struggle in the way of Allah, Islam knows only these two outcomes. There is no third term for a half result. Whoever fights for this cause either wins or gives his life. The first verse above says exactly this and promises a great reward in either case.
The shahid seems to lose his life. In truth, Allah grants him eternal life. That is why the second verse says that those who fall should not be thought of as dead, for they are alive with their Lord. What looks like an end from the outside is, for him, a beginning.
The words “in the cause of Allah” matter here. They do not refer to every fight or to every death in a war. They refer only to a struggle that God Himself permits, such as defence against persecution and injustice. The hadith above also shows that people who die of an epidemic, by drowning or under a collapsing wall are counted as shahid too. The title of honour is therefore no reward for violence. It is a sign of God’s mercy.