It is narrated from Sayyiduna Abu Hurayrah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "No discretionary punishment (ta'zir) is to be given beyond ten lashes."
Imam al-Tabarani (may Allah have mercy on him) said: "No one narrated this hadith from Imam al-Awza'i (may Allah have mercy on him) except al-Walid, and Ibrahim bin Muhammad al-Shami is alone in narrating it from al-Walid."
Hadith Referenceالمعجم الأوسط / باب الميم / 7528
Hadith Gradingمحدثین:إسناده ضعيف جدًّا، فيه محمد بن إبراهيم يضع الحديث
Hadith Takhrij«قال أبو حاتم الرازي: قال ابن الجوزي في موضوعاته قال أبو حاتم في إسناده محمد بن إبراهيم وهو يضع الحديث ويروي ما لا أصل له من كلام رسول الله صلى الله عليه وسلم لا تحل الرواية عنه إلا اعتبارا «البدر المنير في تخريج الأحاديث والآثار الواقعة في الشرح الكبير، ج 8، ص 730»» «أخرجه ابن ماجه فى «سننه» برقم: 2602»