Surah 40

Surah 40:15

"Exalter of ranks, Holder of the throne, He casts the spirit of His command on whomever He pleases of His servants, to warn of the Day of Meeting."

– He casts the spirit of His command on whomever He pleases of His servants
The expression “spirit of His command” also appears at 16.2 and 42.52 (cf. 17.85), where it seems to relate to warning and guidance. See a discussion of the Quran’s verses about the “spirit” at 97.4.

- from The Quran with Christian Commentary: A Guide to Understanding the Scripture of Islam