Narrated Abu Dharr: The Prophet said, Gabriel came to me and gave me the glad tidings that anyone who died without worshipping anything besides Allah, would enter Paradise. I asked (Gabriel), 'Even if he committed theft, and even if he committed illegal sexual intercourse?' He said, '(Yes), even if he committed theft, and even if he Committed illegal sexual intercourse."
— Sahih Bukhari, Volume 9, Book 93: Oneness, Uniqueness of Allah (Tawheed), Hadith #579
Narrated Abu Dharr: The Prophet said, Gabriel came to me and gave me the glad tidings that anyone who died without worshipping anything besides Allah, would enter Paradise. I asked (Gabriel), 'Even if he committed theft, and even if he committed illegal sexual intercourse?' He said, '(Yes), even if he committed theft, and even if he Committed illegal sexual intercourse."
This hadith is from the book of Oneness, Uniqueness of Allah (Tawheed) in Sahih Bukhari, compiled by Imam al-Bukhari. It is hadith number 579 in book 93 of volume 9.
This hadith is referenced in the following topics: Stealing, Who enters Paradise, Oneness of Allah - Tawheed, Extramarital Relations.