Narrated Anas:
"Qais bin Sa'd used to be, to the Prophet (ﷺ), in the position of the head of police for a ruler." (One of the narrators) Al-Ansari said: "That is: Due to his affairs that he takes charge of." (AR)
English reference (AR): Vol. 1, Book 46, Hadith 3850 (AR)
Arabic reference (AR): Book 49, Hadith 4221 (AR)