It is narrated from Sayyiduna Abu Hurairah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "No person can commit a major theft of something valuable, towards which people's eyes are set, while remaining a believer; and if he is committing theft, then in that state he does not remain a believer."
Brief Explanation
(Commentary on Hadith 2032)
That is, at the time of committing such a crime, he does not remain a believer; faith departs from him. If faith had remained, why would he commit such an act?
From this hadith, it is understood that the one who commits plunder, theft, or robbery—if these people claim to be Muslims, then they are utterly false in their claim. The characteristic of a Muslim is that if he happens to commit theft, adultery, or any other evil deed, he becomes extremely remorseful, repents forever, and remains engaged in seeking forgiveness (istighfar).
(Raz)