Sayyiduna Jabir bin Samurah (may Allah be pleased with him) said: The Messenger of Allah (peace and blessings be upon him) led the Subh (Fajr) prayer and began rebuking something in front of him. When he (peace and blessings be upon him) finished the prayer, we asked him (peace and blessings be upon him), and he (peace and blessings be upon him) said: "That was a devil; he threw a spark of fire onto my foot in order to divert me from the prayer." And he said: "I rebuked him, and had I seized him, I would have tied him to one of the pillars of the mosque, so that the children of Madinah would gather around him to look at him."
Hadith Referenceالمعجم الكبير للطبراني / باب الجيم / 1926