Narrated Ibn 'Abbas: The Prophet ﷺ said, "When (a person) an adulterer commits illegal sexual intercourse then he is not a believer at the time he is doing it; and when somebody steals, then he is not a believer at the time he is stealing".
The hadith also teaches us about the importance of faith in our lives as Muslims; we must always strive to remain true believers in order to be successful both here on earth and in the hereafter. Additionally, it serves as an example of how our actions can affect our faith; if we commit certain sins then we will no longer be considered believers until we repent for them and ask for forgiveness from Allah. Therefore, this hadith serves as an important reminder for us all to stay away from any kind of sinning so that we may remain true believers throughout our lives.