Narrated Abu Dhar: Once I was in the company of the Prophet, peace be upon him ….. He ordered me to stay at my place and went not far away. I heard a voice and intended to go to him but I remembered his order, “Stay at your place till I return.”

On his return I said, “O Allah’s Messenger! (What was) that noise which I heard?” He said, “Did you hear anything?” I said, “Yes.” He said, “Jibraeel came to me and said, “Whoever amongst your followers dies, worshipping none alongwith Allah, would enter Paradise’.” I said, “Even if he did such and such things (i.e. even if he stole or committed illegal sexual intercourse),” he said, “Yes.”
[3: 573- O.B. Sahih Al-Bukhari)