Abu Huraira reported: A man came to the Prophet, peace and blessings be upon him, and he said, “This person prays in the night but he steals in the morning!” The Prophet said, “Verily, prayer should stop him from doing that if what you say is true.”
Source: Musnad Aḥmad 9778
Grade: Sahih (authentic) according to Al-Arna’ut
عَنْ أَبِي هُرَيْرَةَ قَالَ جَاءَ رَجُلٌ إِلَى النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَقَالَ إِنَّ فُلَانًا يُصَلِّي بِاللَّيْلِ فَإِذَا أَصْبَحَ سَرَقَ قَالَ إِنَّهُ سَيَنْهَاهُ مَا يَقُولُ
9778 مسند أحمد بن حنبل
15/483 المحدث شعيب الأرناؤوط خلاصة حكم المحدث صحيح في تخريج المسند لشعيب