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.
bayhaqi:17976Abū ʿAbdullāh al-Ḥāfiẓ > ʿAbd al-Raḥman b. al-Ḥasan al-Qāḍī > Ibrāhīm b. al-Ḥusayn > Ādam > And Rqāʾ > Ibn Abū Najīḥ > Mujāhid

[Machine] The Messenger of Allah ﷺ sent Walid ibn 'Uqbah ibn Abi Mu'ayt to the Banu Mustaliq tribe to confirm their intentions. They received him with gifts and he returned to the Messenger of Allah ﷺ. He said to him, "The Banu Mustaliq have gathered together to fight against you." So Allah, the Blessed and Exalted, revealed the verse {O you who have believed, if there comes to you a disobedient one with information, investigate,} [Al-Hujurat: 6]. The sheikh said, based on what can be inferred, that this happened after the Battle of Banu Mustaliq for a considerable amount of time. It is likely that it was a year or ten years, as memorized by Imam Shafi'i, may Allah have mercy on him. Walid ibn 'Uqbah was young at the time of the conquest, around eight years old, and that was in the eighth year. He would not be sent as an envoy until after he became a man.  

البيهقي:١٧٩٧٦وَأَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ أنبأ عَبْدُ الرَّحْمَنِ بْنُ الْحَسَنِ الْقَاضِي ثنا إِبْرَاهِيمُ بْنُ الْحُسَيْنِ ثنا آدَمُ ثنا وَرْقَاءُ عَنِ ابْنِ أَبِي نَجِيحٍ عَنْ مُجَاهِدٍ قَالَ

أَرْسَلَ رَسُولُ اللهِ ﷺ الْوَلِيدَ بْنَ عُقْبَةَ بْنِ أَبِي مُعَيْطٍ إِلَى بَنِي الْمُصْطَلِقِ لِيُصَدِّقَهُمْ فَتَلَقَّوْهُ بِالْهَدِيَّةِ فَرَجَعَ إِلَى رَسُولِ اللهِ ﷺ فَقَالَ لَهُ إِنَّ بَنِي الْمُصْطَلِقِ قَدْ أَجْمَعُوا لَكَ لِيُقَاتِلُوكَ فَأَنْزَلَ اللهُ تَبَارَكَ وَتَعَالَى {إِنْ جَاءَكُمْ فَاسِقٌ بِنَبَأٍ فَتَبَيَّنُوا} [الحجرات 6] الْآيَةَ قَالَ الشَّيْخُ وَالَّذِي يُسْتَدَلُّ بِهِ عَلَى أَنَّ ذَلِكَ كَانَ بَعْدَ غَزْوَةِ بَنِي الْمُصْطَلِقِ بِمُدَّةٍ كَثِيرَةٍ وَيُشْبِهُ أَنْ يَكُونَ سَنَةَ عَشْرٍ كَمَا حَفِظَهُ الشَّافِعِيُّ رَحِمَهُ اللهُ أَنَّ الْوَلِيدَ بْنَ عُقْبَةَ كَانَ زَمَنَ الْفَتْحِ صَبِيًّا وَذَلِكَ سَنَةَ ثَمَانٍ وَلَا يَبْعَثُهُ مُصَدِّقًا إِلَّا بَعْدَ أَنْ يَصِيرَ رَجُلًا