The Prophet ﷺ said, "When Allah decrees a matter in heaven, the angels beat their wings in submission to His word, like a chain striking a smooth stone. When 'fear is removed from their hearts, they say, What did your Lord say? They reply, The truth, and He is the Most High, the Most Great' [Saba 34:23]."He said, "And the devils are stacked one above another."
حدثنا ابن أبي عمر حدثنا سفيان عن عمرو بن دينار عن عكرمة
عن النبي ﷺ قال إذا قضى الله في السماء أمرا ضربت الملائكة بأجنحتها خضعانا لقوله كأنها سلسلة على صفوان فإذا {فزع عن قلوبهم قالوا ماذا قال ربكم قالوا الحق وهو العلي الكبير} قال والشياطين بعضهم فوق بعض
Bukhari also narrated it in the Book of Tafsir, in the chapter titled "His statement, except one who steals a hearing, and he is pursued by a piercing flame," hadith no. 4701, from the hadith of Sufyan bin Uyayna, by this same chain.