Mishkat al-Masabih 104
وَعَنْ عَلِيٍّ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: لَا يُؤْمِنُ عَبْدٌ حَتَّى يُؤْمِنَ بِأَرْبَعٍ: يَشْهَدُ أَنْ لَا إِلَهَ إِلَّا اللَّهُ وَأَنِّي رَسُولُ اللَّهِ بَعَثَنِي بِالْحَقِّ وَيُؤْمِنُ بِالْمَوْتِ وَالْبَعْثِ بَعْدَ الْمَوْتِ وَيُؤْمِنُ بِالْقَدَرِ . رَوَاهُ التِّرْمِذِيُّ وَابْن مَاجَه
From ʿAli, who said: The Messenger of Allah ﷺ said: "A slave does not believe until he believes in four: he testifies that there is no god but Allah and that I am the Messenger of Allah, who sent me with the truth; he believes in death and the resurrection after death; and he believes in the decree." Reported by at-Tirmidhi and Ibn Majah.