Language:
كتاب التهجد
19  
Prayer at Night (Tahajjud)
(12)
Chapter: Satan'a tying of knots at the back of the head if one does not offer the ight prayer
(12)
باب عَقْدِ الشَّيْطَانِ عَلَى قَافِيَةِ الرَّأْسِ إِذَا لَمْ يُصَلِّ بِاللَّيْلِ
Sahih al-Bukhari 1143

Narrated Samura bin Jundab:

The Prophet (ﷺ) said in his narration of a dream that he saw, "He whose head was being crushed with a stone was one who learnt the Qur'an but never acted on it, and slept ignoring the compulsory prayers."

حَدَّثَنَا مُؤَمَّلُ بْنُ هِشَامٍ، قَالَ حَدَّثَنَا إِسْمَاعِيلُ، قَالَ حَدَّثَنَا عَوْفٌ، قَالَ حَدَّثَنَا أَبُو رَجَاءٍ، قَالَ حَدَّثَنَا سَمُرَةُ بْنُ جُنْدَبٍ ـ رضى الله عنه ـ عَنِ النَّبِيِّ صلى الله عليه وسلم فِي الرُّؤْيَا قَالَ ‏ "‏ أَمَّا الَّذِي يُثْلَغُ رَأْسُهُ بِالْحَجَرِ فَإِنَّهُ يَأْخُذُ الْقُرْآنَ فَيَرْفِضُهُ وَيَنَامُ عَنِ الصَّلاَةِ الْمَكْتُوبَةِ ‏"‏‏.‏
Reference : Sahih al-Bukhari 1143
In-book reference : Book 19, Hadith 24
USC-MSA web (English) reference : Vol. 2, Book 21, Hadith 244
  (deprecated numbering scheme)