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:26:209

As a reminder; and never have We been unjust.  

as a reminder, an admonition for them; for We were never unjust, for We destroy them ˹only˺ after they have been warned. The following was revealed to refute what the idolaters were saying:
القرآن:٢٦:٢٠٩

ذِكْرَىٰ وَمَا كُنَّا ظَالِمِينَ  

{ذكرى} عظة لهم {وما كنا ظالمين} في إهلاكهم بعد إنذارهم ونزل ردا لقول المشركين.