It was narrated that ‘Ali (رضي الله عنه) said:
The Messenger of Allah (ﷺ) said: “No one truly believes until he believes in four things: he believes in Allah, he believes that Allah sent me with the truth, he believes in the resurrection after death, and he believes in the divine decree, both good and bad.”