In the name of Allah, Most Gracious, Most Merciful.
Jabir (May Allah be pleased with him) reported: A bedouin came to the Prophet (SAWS) and asked him: “O Messenger of Allah, what are the two imperatives which lead to Jannah or Hell”. The Prophet (SAWS) replied: “He who dies without associating anything with Allah will enter Jannah, and he who dies associating partners with Allah will enter the Fire”.
Commentary:
This Hadith may mislead some inveterate sinners who believe themselves to be sure to enter Paradise because, according to them, they believe in Allah without associating anything to Allah.
But there is obvious associating/idolatry and hidden associating/idolatry.
Whoever lets himself be guided by his passions has given in to a god other than Allah, or one who serves or approves critics of Islam and those who deny its laws and legislation.
A Hadith says that he who dies while committing a major sin such as theft or fornication or drunkenness, dies an unbeliever. So we must be wary from the temptations of the deceiver who gives false hopes to the unrepentant in believing they can say they are believers while continuing to flout the rule of Islam and do everything that brings unto them the wrath of Allah.
SAWS: May Allah exalt his mention and protect him from imperfection
Riyaadiss-Saliheen (The Meadows of the Righteous)
By Imam An Nawawi
Chapter 51, Page 140, No 414