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.
quran:80:12

So whoever wills may remember it.  

so let whoever will, remember it, preserve it ˹in his memory˺ and thus be admonished by it —
القرآن:٨٠:١٢

فَمَنْ شَاءَ ذَكَرَهُ  

{فمن شاء ذكره} حفظ ذلك فاتعظ به.

See similar narrations below:

Collected by Qurʾān