أَخْبَرَنَا أَبُو الْقَاسِمِ زَيْدُ بْنُ جَعْفَرِ بْنِ مُحَمَّدِ بْنِ عَلِيٍّ الْعَلَوِيُّ بِالْكُوفَةِ، أنا أَبُو جَعْفَرِ بْنُ دُحَيْمٍ، ثنا إِبْرَاهِيمُ بْنُ عَبْدِ اللهِ الْعَبْسِيُّ، ثنا وَكِيعُ بْنُ الْجَرَّاحِ، عَنِ الْأَعْمَشِ، عَنْ أَبِي ظَبْيَانَ، عَنِ ابْنِ عَبَّاسٍ، أَنَّهُ ذُكِرَ عِنْدَهُ الْوُضُوءُ مِنَ الطَّعَامِ، قَالَ الْأَعْمَشُ مَرَّةً: وَالْحِجَامَةُ لِلصَّائِمِ، فَقَالَ: " إِنَّمَا الْوُضُوءُ مِمَّا خَرَجَ، وَلَيْسَ مِمَّا دَخَلَ، وَإِنَّمَا الْفِطْرُ مِمَّا دَخَلَ، وَلَيْسَ مِمَّا خَرَجَ. وَرُوِيَ أَيْضًا عَنْ عَلِيِّ بْنِ أَبِي طَالِبٍ مِنْ قَوْلِهِ. وَرُوِيَ عَنِ النَّبِيِّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ وَلَا يَثْبُتُ.
It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that performing ablution after eating food was mentioned in his presence. On one occasion al-A'mash also said: and cupping for the fasting person (was mentioned). He said: Ablution is due to what comes out, not to what goes in; and the breaking of the fast is due to what goes in, not to what comes out.
This is also narrated from the Prophet (peace and blessings be upon him), but it is not established.