Nafi' reported on the authority of Ibn Umar. He (ibn Umar) used to come (to Mina) and threw pebbles three days after the day of sacrifice walking when arriving and returning (both ways). He reported that the Prophet (ﷺ) used to do so.
Sunan Abi Dawud Book 11, Hadith 249