Jami` at-Tirmidhi, Book 9, Hadith 148 (Tirmidhi 956)

Abi Al-Baddah bin Adi narrated from his father:

"The Prophet permitted the shepherds to stone a day and leave a day."