It is narrated from Sayyiduna Abdullah bin Abi Awfa (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "When a man commits adultery, he is not a believer at the time he commits it; when he steals, he is not a believer at the time he steals; and when he commits a robbery at which people raise their eyes to look (or which is of very valuable property), he is not a believer at the time he commits it."
It is narrated from Sayyiduna Abdullah bin Abi Awfa (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "The drinker of wine is not a believer at the time he drinks it; the adulterer is not a believer at the time he commits adultery; and a man is not a believer at the time he commits a robbery at which people raise their eyes to look (or which is of very valuable property)."
This hadith has already passed in the narration of al-Hakam bin Utaybah (may Allah have mercy on him) through the route of Ahmad bin Mani' (may Allah have mercy on him).
After it, Ibn Mani' (may Allah have mercy on him) narrated from Ubaydullah bin Abd al-Rahman (may Allah have mercy on him), from Shu'bah (may Allah have mercy on him), from Firas (may Allah have mercy on him), who said: "I heard Mudrik bin Umarah (may Allah have mercy on him) say that he heard Sayyiduna Ibn Abi Awfa (may Allah be pleased with him) narrate the like of it from the Prophet (peace and blessings be upon him)."