قَوْلُهُ تَعَالَى: {وَأُولِي الْأَمْرِ} [النساء: 59]
The Verse: "Obey Allah and Obey the Apostle and those of you (Muslims) who are in authority." (4.59) was revealed in connection with ʿAbdullah bin Hudhafa bin Qais bin ʿAdi' when the Prophet ﷺ appointed him as the commander of a Sariyya (army detachment). (Using translation from Bukhārī 4584)
عَنِ ابْنِ عَبَّاسٍ {يَا أَيُّهَا الَّذِينَ آمَنُوا أَطِيعُوا اللهَ وَأَطِيعُوا الرَّسُولَ وَأُولِي الْأَمْرِ مِنْكُمْ} [النساء 59] نَزَلَتْ فِي عَبْدِ اللهِ بْنِ حُذَافَةَ بْنِ قَيْسِ بْنِ عَدِيٍّ السَّهْمِيِّ إِذْ بَعَثَهُ النَّبِيُّ ﷺ فِي السَّرِيَّةِ