Abu Huraira reported: The Prophet, peace and blessings be upon him, said, “Islam is to worship Allah without associating any partner with Him, to establish prayer, to give charity, to fast the month of Ramadan, to perform pilgrimage to the House, to enjoin good and forbid evil, and to greet your people with peace. Whoever neglects anything from them has abandoned a part of Islam, and whoever neglects all of them has thrown Islam behind his back.”
Source: Shu’ab al-Imān lil-Bayhaqī 8844
Grade: Sahih li ghayri (authentic due to external evidence) according to Al-Albani
عَنْ أَبِي هُرَيْرَةَ عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ الإِسْلامُ أَنْ تَعْبُدَ اللَّهَ وَلا تُشْرِكَ بِهِ شَيْئًا وَتُقِيمَ الصَّلاةَ وَتُؤْتِيَ الزَّكَاةَ وَتَصُومَ رَمَضَانَ وَتَحُجَّ الْبَيْتَ وَالأَمْرُ بِالْمَعْرُوفِ وَالنَّهْيُ عَنِ الْمُنْكَرِ وَتَسْلِيمُكَ عَلَى أَهْلِكَ فَمَنِ انْتَقَصَ شَيْئًا مِنْهُنَّ فَهُوَ سَهْمٌ فِي الإِسْلامِ يَدَعُهُ وَمَنْ تَرَكَهُنَّ كُلَّهُنَّ فَقَدْ وَلَّى الإِسْلامَ ظَهْرَهُ
8844 شعب الإيمان للبيهقي
المحدث الألباني خلاصة حكم المحدث صحيح لغيره في صحيح الترغيب 2324