Abdullah bin Abbas reported,

The Messenger of Allah ﷺ set out with a group of his companions heading toward the market of Ukaz. By that time, the devils had been barred from receiving news of the heavens, and shooting stars were being hurled at them. The devils returned to their people, who asked them, "What is the matter with you?"They replied, "We have been barred from the news of the heavens, and shooting stars are being hurled at us."Their people said, "Nothing has barred you from the news of the heavens except some event that has occurred. So travel through the easts and wests of the earth and find out what this event is."So they set out, traveling through the easts and wests of the earth, searching for what had come between them and the news of the heavens. Those who headed toward Tihamah came upon the Messenger of Allah ﷺ at Nakhlah, while he was on his way to the market of Ukaz, leading his companions in the dawn prayer. When they heard the Quran, they listened attentively to it and said, "This is what has come between us and the news of the heavens."At that, they returned to their people and said, "Our people, 'we have heard a wondrous Quran that guides to right conduct, so we have believed in it, and we will never associate anyone with our Lord' [Jinn 72:1–2]."Then Allah عز وجل revealed to His Prophet ﷺ, "Say, it has been revealed to me that a company of the jinn listened" [Jinn 72:1]. What was revealed to him was only the speech of the jinn.

Bukhari 4921

Sahih

حدثنا موسى بن إسماعيل حدثنا أبو عوانة عن أبي بشر عن سعيد بن جبير

عن ابن عباس قال

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

البخاري 4921صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Tafsir
Chapter
Wadd, Suwa, Yaghuth, and Yauq
Numbering
Darussalam 4921
Bukhari 4921