I heard the Messenger of Allah ﷺ say, "No one is to be flogged more than ten lashes except in a punishment prescribed by Allah ."Layth had narrated this to us in Baghdad from Yazid bin Abu Habib, from Bukayr, from Sulayman. Then when we were in Egypt, Bukayr bin Abdullah bin Ashajj informed us of it directly.
حدثنا أبو سلمة الخزاعي حدثنا ليث عن بكير بن عبد الله بن الأشج عن سليمان بن يسار عن عبد الرحمن بن جابر
سمعت رسول الله ﷺ يقول لا يجلد فوق عشر جلدات إلا في حد من حدود الله عز وجل وكان ليث حدثناه ببغداد عن يزيد بن أبي حبيب عن بكير عن سليمان فلما كنا بمصر أخبرنا بكير بن عبد الله بن الأشج