Ibrahim bin Abdullah narrates: Sayyiduna Abu Hurairah (may Allah be pleased with him) ate pieces of cheese and performed ablution. Then he said, "Do you know why I performed ablution? I have eaten pieces of cheese. I heard the Prophet Muhammad (peace and blessings be upon him) say: 'Perform ablution after eating things cooked on fire.'" Umar bin Abdul Aziz used to perform ablution after eating sugar.
Hadith Referenceصحیح ابن حبان / كتاب الطهارة / 1146
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - «صحيح أبي داود» (189): م.فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده صحيح على شرط مسلم