Saeed bin Jubair, may Allah have mercy on him, said in the explanation of Allah the Exalted’s statement: ﴿إِنَّمَاجَزَاءُالَّذِينَيُحَارِبُونَاللَّهَوَرَسُولَهُ﴾: If the highway robber has killed someone, then he should be killed; if he has both killed and stolen wealth, then he should be crucified; if he has only stolen wealth and not killed, then his hand and foot from opposite sides should be cut off; and if he has only blocked the road by force and frightened people, without stealing wealth or killing, then he should be exiled.
Hadith Referenceسنن سعید بن منصور / كتاب التفسير / 729