“The jinns used to ascent through the heavens, trying to listen about the Revealation. So when they heard a statement, they would add nine to it. The statement that they heard would be true, while what they added was false. So it was with the advent of the Messenger of Allah that they were prevented from their places. So they mentioned that to Iblis – and the stars were not shot at them before that. So Iblis said to them: ‘This is naught but an event that has occurred in the earth.’ So he sent out his armies, and they found the Messenger of Allah standing in Salat between two mountains” – I think he said “in Makkah” – “So they (returned) to meet with him (Iblis), and informed him. He said: ‘This is the event that has happened on the earth.’” (Using translation from Tirmidhī 3324)
كَانَتِ الْجِنُّ تَصْعَدُ إِلَى السَّمَاءِ يَسْتَمِعُونَ الْوَحْيَ فَإِذَا سَمِعُوا الْكَلِمَةَ زَادُوا فِيهَا تِسْعًا فَأَمَّا الْكَلِمَةُ فَتَكُونُ حَقًّا وَأَمَّا مَا زَادُوا فَيَكُونُ بَاطِلًا فَلَمَّا بُعِثَ رَسُولُ اللهِ ﷺ مُنِعُوا مَقَاعِدَهُمْ فَذَكَرُوا ذَلِكَ لِإِبْلِيسَ وَلَمْ تَكُنِ النُّجُومُ يُرْمَى بِهَا قَبْلَ ذَلِكَ فَقَالَ لَهُمْ إِبْلِيسُ مَا هَذَا إِلَّا لِأَمْرٍ حَدَثَ فِي الْأَرْضِ فَبَعَثَ جُنُودَهُ فَوَجَدُوا رَسُولَ اللهِ ﷺ قَائِمًا يُصَلِّي فَأَتَوْهُ فَأَخْبَرُوهُ فَقَالَ هَذَا الْحَدَثُ الَّذِي حَدَثَ فِي الْأَرْضِ