Jabir bin Subh (may Allah have mercy on him) narrates that al-Muthanna bin Abd al-Rahman al-Khuza'i (may Allah have mercy on him), with whom I travelled as far as Wasit, would mention the name of Allah when he ate, and when it came to the last morsel he would say: 'Bismillahi awwalahu wa akhirahu' (In the name of Allah, its beginning and its end).
I asked him about this, and he said: "My grandfather, Sayyiduna Umayyah bin Makhshi (may Allah be pleased with him), who was one of the Companions of the Prophet (peace and blessings be upon him), narrates that a man was eating in the presence of the Prophet (peace and blessings be upon him) and had not said Bismillah. When he reached his last morsel, he said: 'Bismillahi awwalahu wa akhirahu' (In the name of Allah, at its beginning and its end).
On hearing this, the Prophet (peace and blessings be upon him) said: "Satan kept eating with him, but when he mentioned the name of Allah, Satan vomited up all that he had eaten.""