[Machine] Narrated Ibn Abbas, we do not know it except that he raised it to the Prophet ﷺ who said, "Islam is built on five pillars: testifying that there is no god but Allah, and that Muhammad is His messenger, prayer, fasting in Ramadan, and pilgrimage to the House (Kaaba) for those who are able. Whoever leaves one of them has disbelieved and permitted bloodshed."
عَنِ ابْنِ عَبَّاسٍ ؓ وَلَا نَعْلَمُهُ إِلَّا رَفَعَهُ إِلَى النَّبِيِّ ﷺ قَالَ بُنِيَ الْإِسْلَامُ عَلَى خَمْسٍ شَهَادَةِ أَنْ لَا إِلَهَ إِلَّا اللهُ وَالصَّلَاةِ وَصِيَامِ رَمَضَانَ فَمَنْ تَرَكَ وَاحِدَةً مِنْهُنَّ كَانَ كَافِرًا حَلَالَ الدَّمِ