Sunan Ibn Majah
3036
Sahih+3

It was narrated from Abu Baddah bin ‘Asim, from his father, that the Prophet (ﷺ) granted permission for some shepherds to stone one day and to not stone (the next) day

SahihAl-Albani
SahihMuhammad Fouad Abd al-Baqi