"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."
Jami` at-Tirmidhi Book 49, Hadith 250