Sahih al-Bukhari, Volume 4, Book 54, Hadith 504 (USC-MSA) ⓘ
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."
حَدَّثَنَا مَحْمُودٌ، حَدَّثَنَا شَبَابَةُ، حَدَّثَنَا شُعْبَةُ، عَنْ مُحَمَّدِ بْنِ زِيَادٍ، عَنْ أَبِي هُرَيْرَةَ ـ رضى الله عنه ـ عَنِ النَّبِيِّ صلى الله عليه وسلم أَنَّهُ صَلَّى صَلاَةً فَقَالَ " إِنَّ الشَّيْطَانَ عَرَضَ لِي، فَشَدَّ عَلَىَّ يَقْطَعُ الصَّلاَةَ عَلَىَّ، فَأَمْكَنَنِي اللَّهُ مِنْهُ " . فَذَكَرَهُ.
also referenced under: Book 59, Hadith 93 (In-Book) & Hadith 3284 (DarusSalam)