Mishkat al-Masabih 104
‘Ali reported that God’s messenger said, “A man is not a believer till he believes in four things :
he must testify that there is no god but God and that I am God’s messenger whom He sent with the truth ; he must believe in death and in the resurrection after death; and he must believe in the divine decree." 

Tirmidhi and Ibn Majah transmitted it.
وَعَنْ عَلِيٍّ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: 
" لَا يُؤْمِنُ عَبْدٌ حَتَّى يُؤْمِنَ بِأَرْبَعٍ: يَشْهَدُ أَنْ لَا إِلَهَ إِلَّا اللَّهُ وَأَنِّي رَسُولُ اللَّهِ بَعَثَنِي بِالْحَقِّ وَيُؤْمِنُ بِالْمَوْتِ وَالْبَعْثِ بَعْدَ الْمَوْتِ وَيُؤْمِنُ بِالْقَدَرِ ". رَوَاهُ التِّرْمِذِيُّ وَابْن مَاجَه