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:11:35

Or do they say ˹about Prophet Muhammad˺, "He invented it"? Say, "If I have invented it, then upon me is ˹the consequence of˺ my crime; but I am innocent of what ˹crimes˺ you commit."  

God, exalted be He, says: Or do they, the disbelievers of Mecca, say, ‘He has invented it’?, Muhammad (s) has invented the Qur’ān? Say: ‘If I have invented it, then my crime will be upon me, my sin ˹will be upon me˺, that is, the punishment for it; and I am innocent of what you commit’, of crime, when you attribute invention to me.
القرآن:١١:٣٥

أَمْ يَقُولُونَ افْتَرَاهُ ۖ قُلْ إِنِ افْتَرَيْتُهُ فَعَلَيَّ إِجْرَامِي وَأَنَا بَرِيءٌ مِمَّا تُجْرِمُونَ  

{أم} بل أ {يقولون} أي كفار مكة {افتراه} اختلق محمد القرآن {قل إن افتريته فعليَّ إجرامي} إثمي، أي عقوبته {وأنا بريء مما تجرمون} من إجرامكم في نسبة الافتراء إلي.