ANSWER:

In the hadeeth of Samurah ibn Jundub he said: The Messenger of Allaah (peace and blessings of Allaah be upon him) said: “… we came across a man who was lying down, with another man standing over him, holding a big rock. He threw the rock at the man’s head, smashing it. The rock rolled away, and the one who had thrown it followed it, and picked it up. By the time he came back to the man, his head had been restored to its former state. Then he (the one who had thrown the rock) did the same as he had done before. I said to my two companions, ‘Subhaan Allaah! Who are these two persons?’ … ‘The one whom you saw with his head being smashed with the rock, is the man who studies the Qur’aan then he neither recites it nor acts upon it, and he goes to sleep, neglecting the obligatory prayers.’ 

According to another version: “As for the man whom you saw with his head being crushed by a rock, he is a man who learned the Qur’aan then abandoned it and he slept and missed the obligatory prayer.” Narrated by al-Bukhaari (7076). 

There is a hadith regarding punishment of the grave where it describes a rock crushing the head of a person for oversleeping fard prayer and something else regarding quran. The part regarding the quran I can’t remember what the hadith says about it, does the punishment apply just for not reciting quran? Or is it only for not acting upon commands?