Sunan Abu Dawud #1975
The Rites of Hajj (Kitab Al-Manasik Wa'l-Hajj) 11:255
Narrated Abu al-Baddah b. 'Asim:
On the authority of his father 'Asim: The Messenger of Allah (ﷺ) gave permission to the herdsmen of the camels not to pass night at Mina and asked them to throw pebbles on the day of sacrifice, and to throw pebbles at the jamrahs the next day and the following two days, and on the day of their return.