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:40:14

So invoke Allah, ˹being˺ sincere to Him in religion, although the disbelievers dislike it.  

So supplicate God, worship Him, devoting ˹your˺ religion purely to Him, ˹free˺ from any idolatry, however much the disbelievers be averse, to its being free of such ˹idolatry˺.
القرآن:٤٠:١٤

فَادْعُوا اللَّهَ مُخْلِصِينَ لَهُ الدِّينَ وَلَوْ كَرِهَ الْكَافِرُونَ  

{فادعوا الله} اعبدوه {مخلصين له الدين} من الشرك {ولو كره الكافرون} إخلاصكم منه.