English : Vol. 1, Book 1, Hadith 238
Grading supplied with this record: Da'if (Darussalam)
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
إِنَّ هَذَا الْخَيْرَ خَزَائِنُ وَلِتِلْكَ الْخَزَائِنِ مَفَاتِيحُ فَطُوبَى لِعَبْدٍ جَعَلَهُ اللَّهُ مِفْتَاحًا لِلْخَيْرِ مِغْلاَقًا لِلشَّرِّ وَوَيْلٌ لِعَبْدٍ جَعَلَهُ اللَّهُ مِفْتَاحًا لِلشَّرِّ مِغْلاَقًا لِلْخَيْرِ "
It was narrated from Sahl bin Sa'd that:
The Messenger of Allah said: "This goodness contains many treasures, and for those there are keys. So glad tidings to the one whom Allah makes a key to good and a lock for evil, and woe to the one whom Allah makes a key to evil and a lock to good."
Full reference and source
English : Vol. 1, Book 1, Hadith 238 Arabic : Book 1, Hadith 244
View source on Sunnah.com (opens in a new tab)