The Prophet (may Allah's peace and blessings be upon him) says that whoever dies while not associating anything as a partner with Allah will end up in Paradise, even if he is punished for some of his sins; and that whoever dies while associating anything as a partner with Allah will abide in Hellfire forever.