The Prophet ﷺ set out with the intention of going to Suq ʿUkaz (market of ʿUkaz) along with some of his companions. At the same time, a barrier was put between the devils and the news of heaven. Fire commenced to be thrown at them. The Devils went to their people, who asked them, "What is wrong with you?" They said, "A barrier has been placed between us and the news of heaven. And fire has been thrown at us." They said, "The thing which has put a barrier between you and the news of heaven must be something which has happened recently. Go eastward and westward and see what has put a barrier between you and the news of heaven." Those who went towards Tuhama came across the Prophet at a place called Nakhla and it was on the way to Suq ʿUkaz and the Prophet ﷺ was offering the Fajr prayer with his companions. When they heard the Qur'an they listened to it and said, "By Allah, this is the thing which has put a barrier between us and the news of heaven." They went to their people and said, "O our people; verily we have heard a wonderful recital (Qur'an) which shows the true path; we believed in it and would not ascribe partners to our Lord." Allah revealed the following verses to his Prophet (Sura 'Jinn') (72): "Say: It has been revealed to me." And what was revealed to him was the conversation of the Jinns. (Using translation from Bukhārī 773)
انْطَلَقَ رَسُولُ اللهِ ﷺ فِي طَائِفَةٍ مِنْ أَصْحَابِهِ عَامِدِينَ إِلَى سُوقِ عُكَاظٍ وَقَدْ حِيلَ بَيْنَ الشَّيَاطِينِ وَبَيْنَ خَبَرِ السَّمَاءِ وَأُرْسِلَتْ عَلَيْهِمُ الشُّهُبُ فَرَجَعَتِ الشَّيَاطِينُ إِلَى قَوْمِهِمْ فَقَالُوا حِيلَ بَيْنَنَا وَبَيْنَ السَّمَاءِ وَأُرْسِلَتْ عَلَيْنَا الشُّهُبُ فَقَالَ مَا حَالَ بَيْنَكُمْ وَبَيْنَ خَبَرِ السَّمَاءِ إِلَّا شَيْءٌ حَدَثَ فَاضْرِبُوا مَشَارِقَ الْأَرْضِ وَمَغَارِبَهَا فَانْظُرُوا مَا هَذَا الَّذِي حَالَ بَيْنَكُمْ وَبَيْنَ خَبَرِ السَّمَاءِ؟ فَانْطَلَقُوا يَضْرِبُونَ مَشَارِقَ الْأَرْضِ وَمَغَارِبَهَا يَبْتَغُونَ مَا هَذَا الَّذِي حَالَ بَيْنَهُمْ وَبَيْنَ خَبَرِ السَّمَاءِ فَانْصَرَفَ أُولَئِكَ النَّفَرِ الَّذِينَ تَوَجَّهُوا نَحْوَ تِهَامَةَ إِلَى رَسُولِ اللهِ ﷺ وَهُو بِنَخْلَةَ عَامِدًا إِلَى سُوقِ عُكَاظٍ وَهُو يُصَلِّي بِأَصْحَابِهِ صَلَاةَ الْفَجْرِ فَلَمَّا سَمِعُوا الْقُرْآنَ اسْتَمَعُوا لَهُ وَقَالُوا هَذَا وَاللهِ الَّذِي حَالَ بَيْنَكُمْ وَبَيْنَ خَبَرِ السَّمَاءِ فَهُنَاكَ حِينَ رَجَعُوا إِلَى قَوْمِهِمْ فَقَالُوا يَا قَوْمَنَا {إِنَّا سَمِعْنَا قُرْآنًا عَجَبًا يَهْدِي إِلَى الرُّشْدِ فَآمَنَّا بِهِ وَلَنْ نُشْرِكَ بِرَبِّنَا أَحَدًا} [الجن 2] فَأَنْزَلَ اللهُ {قُلْ أُوحِيَ إِلَيَّ أَنَّهُ اسْتَمَعَ نَفَرٌ مِنَ الْجِنِّ} [الجن 1] وَإِنَّمَا أُوحِيَ إِلَيْهِ قَوْلُ الْجِنِّ اللَّفْظُ لِعَمْرٍو