Seeing one's hard-heartedness towards the remembrance of Allahu ta'ala or the hadiths of the Messenger of Allah (pbuh) in a dream indicates that the dreamer is a sinner. Hardness of heart is also a sign of weakness in religion, laxity in worship and inclination towards haram. Because if the heart is good, the whole body is good.