The Rites of Hajj (Kitab Al-Manasik Wa'l-Hajj)
Dawud :: Book 10 : Hadith 1970
Narrated Asim ibn Adi:
The Apostle of Allah (peace_be_upon_him) 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.