Sahih Bukhari Volume 6, Book 60, Hadith Number 108.
Narrated By 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).