Bulugh al-Maram, Book 10, Hadith 1256 (English)

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.

وَعَنْ اِبْنِ عُمَرَ رَضِيَ اَللَّهُ عَنْهُمَا: { أَنَّ اَلنَّبِيَّ ‏- صلى الله عليه وسلم ‏-ضَرَبَ وَغَرَّبَ وَأَنَّ أَبَا بَكْرٍ ضَرَبَ وَغَرَّبَ.‏ } رَوَاهُ اَلتِّرْمِذِيُّ, وَرِجَالُهُ ثِقَاتٌ, إِلَّا أَنَّهُ اخْتُلِفَ فِي رَفْعِهِ, وَوَقْفِهِ (1584)‏.‏ ‏1 ‏- صحيح.‏ رواه الترمذي (1438)‏، وزاد: "وأن عمر ضرب وغرب".‏ وسنده صحيح،، ولا يضر من رفعه ‏-وهو ثقات‏- وقف من وقفه.‏ والله أعلم.‏

sunnah.com

also referenced under: Book 10, Hadith 1217 (In-Book)