Umaiyyah bin Makhshi (May Allah be pleased with him) reported:
Messenger of Allah (ﷺ) was sitting while a man was eating food. That man did not mention the Name of Allah (before commencing to eat) till only a morsel of food was left. When he raised it to his mouth, he said: "Bismillah awwalahu wa akhirahu (With the Name of Allah, in the beginning and in the end)." Messenger of Allah (ﷺ) smiled at this and said, "Satan had been eating with him but when he mentioned the Name of Allah, Satan vomited all that was in his stomach."[Abu Dawud and An-Nasa'i].
App reference: Book 3, Hadith 5
Arabic/English book reference: Book 3, Hadith 732