It is narrated from Hazrat Abu Huraira (may Allah be pleased with him) that a man came to the presence of the Noble Prophet (peace and blessings be upon him) and said, "Such-and-such a man prays at night and steals during the day." The Noble Prophet (peace and blessings be upon him) said, "Soon his prayer and recitation will prevent him from this act."
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 9778