Mishkat al-Masabih
Jabir said he saw the Prophet (ﷺ) throwing pebbles on the day of sacrifice while on his riding-beast and saying, “Learn your rites, for I do not know whether I am likely to perform the pilgrimage after this occasion.” Muslim transmitted it.
عَن جَابر قَالَ: رَأَيْتُ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَرْمِي عَلَى رَاحِلَتِهِ يَوْمَ النَّحْرِ وَيَقُولُ: «لِتَأْخُذُوا مَنَاسِكَكُمْ فَإِنِّي لَا أَدْرِي لَعَلِّي لَا أَحُجُّ بعد حجتي هَذِه» . رَوَاهُ مُسلم
Reference