[Machine] The Messenger of Allah ﷺ said, "Whoever bears witness that there is no god except Allah and that Muhammad is the Messenger of Allah, establishes the prayer, gives the zakat, and fasts during Ramadan, it is the right of Allah to forgive him." Then he mentioned a similar hadith of Hisham ibn Sa'd.
قَالَ رَسُولُ اللهِ ﷺ «مَنْ شَهِدَ أَنْ لَا إِلَهَ إِلَّا اللهُ وَأَنَّ مُحَمَّدًا رَسُولُ اللهِ وَأَقَامَ الصَّلَاةَ وَآتَى الزَّكَاةَ وَصَامَ رَمَضَانَ كَانَ حَقًّا عَلَى اللهِ أَنْ يَغْفِرَ لَهُ» فَذَكَرَ مِثْلَ حَدِيثِ هِشَامِ بْنِ سَعْدٍ