Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ahmad:22133Surayj > Ḥammād / Ibn Salamah > ʿĀṣim b. Bahdalah > Shahr b. Ḥawshab > Muʿādh

[Machine] "The Prophet ﷺ said: 'I will inform you of ten gates of goodness: fasting is a shield, charity extinguishes sins as water extinguishes fire, and the night prayer of a servant [to Allah] until reciting the verse 'Their sides forsake their beds' [as-Sajda 32:16] until the end of the verse.'"  

أحمد:٢٢١٣٣حَدَّثَنَا سُرَيْجٌ حَدَّثَنَا حَمَّادٌ يَعْنِي ابْنَ سَلَمَةَ عَنْ عَاصِمِ بْنِ بَهْدَلَةَ عَنْ شَهْرِ بْنِ حَوْشَبٍ عَنْ مُعَاذٍ

أَنَّ النَّبِيَّ ﷺ قَالَ سَأُنَبِّئُكَ بِأَبْوَابٍ مِنَ الْخَيْرِ الصَّوْمُ جُنَّةٌ وَالصَّدَقَةُ تُطْفِئُ الْخَطِيئَةَ كَمَا يُطْفِئُ الْمَاءُ النَّارَ وَقِيَامُ الْعَبْدِ مِنَ اللَّيْلِ ثُمَّ قَرَأَ {تَتَجَافَى جُنُوبُهُمْ عَنِ الْمَضَاجِعِ} [السجدة 16] إِلَى آخِرِ الْآيَةِ