Musnad Ahmad 1112
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.”
حَدَّثَنَا وَكِيعٌ، حَدَّثَنَا سُفْيَانُ، عَنْ مَنْصُورٍ، عَنْ رِبْعِيِّ بْنِ حِرَاشٍ، عَنْ رَجُلٍ، عَنْ عَلِيٍّ، رَضِيَ اللَّهُ عَنْهُ قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ لَنْ يُؤْمِنَ عَبْدٌ حَتَّى يُؤْمِنَ بِأَرْبَعٍ يُؤْمِنُ بِاللَّهِ وَأَنَّ اللَّهَ بَعَثَنِي بِالْحَقِّ وَيُؤْمِنُ بِالْبَعْثِ بَعْدَ الْمَوْتِ وَيُؤْمِنُ بِالْقَدَرِ خَيْرِهِ وَشَرِّهِ‏.‏