Sahih Bukhari | Volume 7 | Hadith Number 717

Narrated by Abu Dharr
I came to the Prophet while he was wearing white clothes and sleeping. Then I went back to him again after he had got up from his sleep. He said, "Nobody says: 'None has the right to be worshipped but Allah' and then later on he dies while believing in that, except that he will enter Paradise.' I said, "Even It he had committed illegal sexual intercourse and theft." I said. "Even if he had committed illegal sexual intercourse and theft? He said. 'Even If he had committed illegal sexual intercourse and theft," I said, 'Even it he had committed illegal sexual intercourse and thefts.' He said, "Even If he had committed Illegal sexual intercourse and theft, inspite of the Abu Dharrs dislikeness. Abu 'Abdullah said, "This is at the time of death or before it if one repents and regrets and says "None has the right to be worshipped but Allah. He will be forgiven his sins."