عَنِ ابْنِ عَبَّاسٍ رَضِيَ اللَّهُ عَنْهُ أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ خَرَجَ يَوْمَ الْفَتْحِ فَصَامَ حَتَّى إِذَا كَانَ بِالْكَدِيدِ أَفْطَرَ، وَإِنَّمَا يُؤْخَذُ بِالْآخِرِ مِنْ فِعْلِ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَعَلَى آلِهِ وَصَحْبِهِ وَسَلَّمَ، قِيلَ لِسُفْيَانَ: قَوْلُهُ "إِنَّمَا يُؤْخَذُ بِالْآخِرِ" مِنْ قَوْلِ الزُّهْرِيِّ أَوْ قَوْلِ ابْنِ عَبَّاسٍ؟ قَالَ: كَذَا فِي الْحَدِيثِ
It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) set out on a journey on the day of the conquest of Makkah, and he was fasting. When he (peace and blessings be upon him) reached the place of Kudayd, he broke his fast. (The rule is that) the last action of the Messenger of Allah (peace and blessings be upon him) is to be followed. Someone asked Sufyan: Are these words—“the last action of the Messenger of Allah (peace and blessings be upon him) is to be followed”—from Imam Zuhri or from Sayyiduna Abdullah bin Abbas (may Allah be pleased with him)? He replied: This is how it is in this hadith.