Narrated Ibn Abbas:
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).
Sahih Bukhari, Volume 6, Book60, Number 108