Yahya related to me from Malik from Abdullah ibn Abi Bakr ibn Hazm from his father that Abu'l-Baddah ibn Asim ibn Adi told him from his father that the Messenger of Allah ﷺ allowed the camel-herders to spend the night outside of Mina, and they threw the stones (once) on the day of sacrifice, and (once) for the following day and the day after that, and (once) on the day when they left Mina.
أَنَّ رَسُولَ اللَّهِ ﷺ أَرْخَصَ لِرِعَاءِ الإِبِلِ فِي الْبَيْتُوتَةِ خَارِجِينَ عَنْ مِنًى يَرْمُونَ يَوْمَ النَّحْرِ ثُمَّ يَرْمُونَ الْغَدَ وَمِنْ بَعْدِ الْغَدِ لِيَوْمَيْنِ ثُمَّ يَرْمُونَ يَوْمَ النَّفْرِ