It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that the Prophet (peace and blessings be upon him) appointed Ibn Umm Maktum (may Allah be pleased with him) as his deputy over the prayer and the other affairs of Madinah.
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 11387