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:78

And We have already sent messengers before you. Among them are those ˹whose stories˺ We have related to you, and among them are those ˹whose stories˺ We have not related to you. And it was not for any messenger to bring a sign ˹or verse˺ except by permission of Allah. So when the command of Allah comes, it will be concluded in truth, and the falsifiers will thereupon lose ˹all˺.  

And verily We sent messengers before you. Of them are those whom We have recounted to you, and of them are those whom We have not recounted to you: it is reported that God, exalted be He, sent 8,000 prophets, 4,000 prophets ˹sent˺ from among the Children of Israel and ˹the other˺ 4,000 from among the remainder of mankind. And it was never ˹permitted˺ for any messenger, from among them, to bring a sign except with God’s permission, for they are ˹also˺ servants enthralled ˹by Him˺. Hence when God’s command comes, for the chastisement to be sent down on the disbelievers, judgement, between the messengers and their deniers, is passed justly; and it is thence that the advocates of falsehood become losers, that is to say, ˹it is thence that˺ the judgement and the loss become manifest for mankind, although such ˹advocates of falsehood˺ will have always been losers always before that.
القرآن:٤٠:٧٨

وَلَقَدْ أَرْسَلْنَا رُسُلًا مِنْ قَبْلِكَ مِنْهُمْ مَنْ قَصَصْنَا عَلَيْكَ وَمِنْهُمْ مَنْ لَمْ نَقْصُصْ عَلَيْكَ ۗ وَمَا كَانَ لِرَسُولٍ أَنْ يَأْتِيَ بِآيَةٍ إِلَّا بِإِذْنِ اللَّهِ ۚ فَإِذَا جَاءَ أَمْرُ اللَّهِ قُضِيَ بِالْحَقِّ وَخَسِرَ هُنَالِكَ الْمُبْطِلُونَ  

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