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:2:23

And if you are in doubt about what We have sent down upon Our Servant ˹Muhammad˺, then produce a surah the like thereof and call upon your witnesses other than Allah, if you should be truthful.  

And if you are in doubt, in uncertainty, concerning what We have revealed to Our servant, Muhammad (s), of the Qur’ān, that it is from God, then bring a sūra like it, that is also revealed (min mithlihi: min is explicative, that is, a sūra like it in its eloquence, fine arrangement and its bestowal of knowledge of the Unseen; a sūra is a passage with a beginning and end made up of a minimum of three verses); and call your witnesses, those other gods that you worship, besides God, that is, other than Him, so that it can be seen, if you are truthful, in ˹your claim˺ that Muhammad (s) speaks it from himself. So do this, for you are also fluent speakers of Arabic like him. When they could not do this, God said:
القرآن:٢:٢٣

وَإِنْ كُنْتُمْ فِي رَيْبٍ مِمَّا نَزَّلْنَا عَلَىٰ عَبْدِنَا فَأْتُوا بِسُورَةٍ مِنْ مِثْلِهِ وَادْعُوا شُهَدَاءَكُمْ مِنْ دُونِ اللَّهِ إِنْ كُنْتُمْ صَادِقِينَ  

{وإن كنتم في ريب} شك {مما نزلنا على عبدنا} محمد من القرآن أنه من عند الله {فأتوا بسورة من مثله} أي المنزل ومن للبيان أي هي مثله في البلاغة وحسن النظم والإخبار عن الغيب. والسورة قطعة لها أول وآخر أقلها ثلاث آيات {وادعوا شهداءكم" آلهتكم التي تعبدونها} من دون الله} أي غيره لتعينكم {إن كنتم صادقين} في أن محمدا قاله من عند نفسه فافعلوا ذلك فإنكم عربيون فصحاء مثله ولما عجزوا عن ذلك قال تعالى: