Ibrahim narrates from Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) that he said: "(The breaking of) the fast is from what enters (the body), not from what comes out; and (the breaking of) ablution (wudu) is from what comes out, not from what enters."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 9542