Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:89:22

And your Lord has come and the angels, rank upon rank,  

and your Lord, that is to say, His command, and the angels arrive rank on rank (saffan saffan is a circumstantial qualifier, meaning ‘standing in rows’ or ‘made up of many ranks’),
القرآن:٨٩:٢٢

وَجَاءَ رَبُّكَ وَالْمَلَكُ صَفًّا صَفًّا  

{وجاء ربك} أي أمره {والملك} أي الملائكة {صفا صفا} حال، أي مصطفين أو ذوي صفوف كثيرة.