Ibn 'Umar (RAA) narrated, "The Messenger of Allah (ﷺ) applied the punishment of flogging and also that of exile, Abu Bakr (RAA) applied the punishments of flogging and exile and also 'Umar applied them." Related by At-Tirmidhi with a trustworthy chain of narrators, but scholars differed over its being traced back to the Prophet (ﷺ) or only to the companion.
English reference: Book 10, Hadith 1256
Arabic reference: Book 10, Hadith 1217