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:45:18

Then We put you, ˹O Muhammad˺, on an ordained way concerning the matter ˹of religion˺; so follow it and do not follow the inclinations of those who do not know.  

Then We set you, O Muhammad (s), upon a ˹clear˺ course, ˹a clear˺ way, of the commandment, the commandment of religion; so follow it, and do not follow the desires of those who do not know, in worshipping other than God.
القرآن:٤٥:١٨

ثُمَّ جَعَلْنَاكَ عَلَىٰ شَرِيعَةٍ مِنَ الْأَمْرِ فَاتَّبِعْهَا وَلَا تَتَّبِعْ أَهْوَاءَ الَّذِينَ لَا يَعْلَمُونَ  

{ثم جعلناك} يا محمد {على شريعة} طريقة {من الأمر} أمر الدين {فاتبعها ولا تتبع أهواء الذين لا يعلمون} في عبادة غير الله.