Sahih al-Bukhari, Book 19, Hadith 24 (Bukhari 1111)

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."