The Prophet (ﷺ) appointed Ubn Umm Makthum as a governor of Medina (in his absence) twice.

Sunan Abu Dawud Book 20 Hadith 4

Sunan Abu Dawud #2931

Tribute, Spoils, and Rulership (Kitab Al-Kharaj, Wal-Fai' Wal-Imarah) 20:4

Narrated Anas:

The Prophet (ﷺ) appointed Ubn Umm Makthum as a governor of Medina (in his absence) twice.

Chapter: Regarding A Blind Man Being Given A Position Of Leadership

Grade: Sahih (Al-Albani)