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:39:55

And follow the best of what was revealed to you from your Lord before the punishment comes upon you suddenly while you do not perceive,  

And follow the best of what has been revealed to you from your Lord — namely, the Qur’ān — before the chastisement comes on you suddenly while you are unaware’, of the time ˹of its arrival˺ until it has ˹actually˺ come;
القرآن:٣٩:٥٥

وَاتَّبِعُوا أَحْسَنَ مَا أُنْزِلَ إِلَيْكُمْ مِنْ رَبِّكُمْ مِنْ قَبْلِ أَنْ يَأْتِيَكُمُ الْعَذَابُ بَغْتَةً وَأَنْتُمْ لَا تَشْعُرُونَ  

{واتبعوا أحسن ما أنزل إليكم من ربكم} هو القرآن {من قبل أن يأتيكم العذاب بغتة وأنتم لا تشعرون} قبل إتيانه بوقته.