Volume 8 · Book 82 · Hadith 831
Narrated Abu Burda: The Prophet used to say, "Nobody should be flogged more than ten stripes except if he is guilty of a crime, the legal punishment of which is assigned by Allah."
— Sahih Bukhari, Volume 8, Book 82: Punishment of Disbelievers at War with Allah and His Apostle, Hadith #831