The Messenger of Allah ﷺ stoned Maaz and did not mention any flogging.
حدثنا عبد الله حدثنا الحسن بن يحيى بن الربيع وهو ابن أبي الربيع الجرجاني حدثنا عبد الصمد بن عبد الوارث قال ثنا حماد عن سماك
أن رسول الله ﷺ رجم ماعزا ولم يذكر جلدا
Its chain is hasan due to Hasan bin Yahya bin Rabi, whom Ibn Hibban graded reliable while others considered him unknown, and the hadith has already appeared at 20757.