When a dead person is placed in his grave, four kinds of fire will cover him, but then the prayer will come and put one of them out, and the fast will come and put another one of them out, and then charity will come and put another one out, and knowledge will come and put the forth one out, and it will say : ' If I had come sooner, I would a have put all of them out, and given you delight for I am with you now, and you'll not see anything else distressing. '
Taken from: The Sayings and Wisdom of Imam ‘Ali (as)