Narrated Abu Huraira:
The Prophet offered a prayer, and (after finishing) he said, “Satan came in front of me trying persistently to divert my attention from the prayer, but Allah gave me the strength to over-power him.”
Sahih Bukhari, Volume 4, Book54, Number 504