[Machine] The Messenger of Allah ﷺ said: Islam is composed of ten parts, and he who possesses no part of them has failed. The first part is the testimony that there is no god but Allah, and it is the foundation. The second is prayer, and it is the natural disposition. The third is the giving of zakat, and it is purification. The fourth is fasting, and it is protection. The fifth is Hajj, and it is the legislation. The sixth is jihad, and it is warfare. The seventh is enjoining what is right, and it is loyalty. The eighth is forbidding what is wrong, and it is proof. The ninth is the congregation, and it is unity. The tenth is obedience, and it is preservation.
قَالَ رَسُولُ اللهِ ﷺ الْإِسْلَامُ عَشَرَةُ أَسْهُمٍ وَقَدْ خَابَ مَنْ لَا سَهْمَ لَهُ شَهَادَةُ أَنْ لَا إِلَهَ إِلَّا اللهُ وَهِيَ الْمِلَّةُ وَالثَّانِي الصَّلَاةُ وَهِيَ الْفِطْرَةُ وَالثَّالِثُ الزَّكَاةُ وَهِيَ الطُّهُورُ وَالرَّابِعُ الصَّوْمُ وَهُوَ الْجُنَّةُ وَالْخَامِسُ الْحَجُّ وَهُوَ الشَّرِيعَةُ وَالسادسُ الْجِهَادُ وَهُوَ الْغَزْوُ وَالسابعُ الْأَمْرُ بِالْمَعْرُوفِ وَهُوَ الْوَفَاءُ وَالثامِنُ النَّهْيُ عَنِ الْمُنْكَرِ وَهِيَ الْحُجَّةُ وَالتاسعُ الْجَمَاعَةُ وَهِيَ الْأُلْفَةُ وَالْعَاشِرُ الطَّاعَةُ وَهِيَ الْعِصْمَةُ