Mishkat al-Masabih
She told how the Prophet (ﷺ) used to say when bowing and prostrating himself, “All-Glorious, All-Holy, Lord of the angels and the spirit." Muslim transmitted it.
وَعَنْهَا أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ كَانَ يَقُولُ فِي رُكُوعِهِ وَسُجُودِهِ: «سُبُّوحٌ قُدُّوسٌ رب الْمَلَائِكَة وَالروح» . رَوَاهُ مُسلم
Reference