Abdullah bin Abbas reported,

Ibn Abbas reported that the jinn used to ascend to the heavens to eavesdrop on the revelation. Whenever they heard a word, they would add nine more to it. The original word would be true, but what they added to it would be false. When the Messenger of Allah ﷺ was sent, they were prevented from taking their listening posts. They mentioned this to Iblis, for stars had not been used as missiles against them before that.Iblis said to them, "This can only be due to something that has happened on earth."So he dispatched his troops, and they found the Messenger of Allah ﷺ standing in prayer between two mountains, I think he said, in Makkah. They came back to Iblis and informed him, and he said, "This is what has happened on earth."

Azami 12932

Sahih

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

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

الأعظمي 12932صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tafsir of the great Quran
Chapter
Tafsir of Surah Shuara
Section
His saying, "The devils against the kingdom of Sulayman, and Sulayman did not disbelieve, but the devils disbelieved, teaching"
Numbering
Jami al-Kamil 12932 (2nd edition)
Azami 12932