BAYHAQI 7221:
from Ibn ʿUmar —
[Machine] Narrated by the Prophet Muhammad, ﷺ , Islam was built upon five pillars: testifying that there is no deity worthy of worship except Allah and that Muhammad is the Messenger of Allah, establishing the prayer, giving the Zakat (charity), performing the Hajj (pilgrimage) to the House of Allah, and fasting in the month of Ramadan. This is reported by Abu Abdullah Al-Hafiz, who was informed by Abu Bakr Al-Warraq, who was informed by Al-Hasan ibn Sufyan, who was informed by Ubaidullah ibn Mu'adh, who was informed by his father, who said that Abdullah (ibn Mas'ud) said, "The Messenger of Allah, ﷺ , mentioned it in a similar manner."
البيهقي ٧٢٢١:
عن ابن عمر —
عَنِ النَّبِيِّ ﷺ قَالَ بُنِيَ الْإِسْلَامُ عَلَى خَمْسٍ شَهَادَةِ أَنْ لَا إِلَهَ إِلَّا اللهُ وَأَنَّ مُحَمَّدًا رَسُولُ اللهِ وَإِقَامِ الصَّلَاةِ وَإِيتَاءِ الزَّكَاةِ وَحَجِّ الْبَيْتِ وَصَوْمِ رَمَضَانَ 7222 وَأَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ أَخْبَرَنِي أَبُو بَكْرٍ الْوَرَّاقُ أنبأ الْحَسَنُ بْنُ سُفْيَانَ ثنا عُبَيْدُ اللهِ بْنُ مُعَاذٍ ثنا أَبِي ثنا عَاصِمُ بْنُ مُحَمَّدِ بْنِ زَيْدٍ عَنْ أَبِيهِ قَالَ قَالَ عَبْدُ اللهِ قَالَ رَسُولُ اللهِ ﷺ فَذَكَرَهُ بِمِثْلِهِ
hadithunlocked.com