It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that the Prophet (peace and blessings be upon him) passed by some people who were practising archery, and said: "Shoot, O children of Isma'il, for your father (Isma'il, peace be upon him) was an archer."
Sayyiduna Ibn Abbas (may Allah be pleased with them both) said: On the morning of al-Aqabah, while he (peace and blessings be upon him) was on his mount, the Prophet (peace and blessings be upon him) said: "Come, pick up (pebbles)." So I picked up for him (peace and blessings be upon him) small pebbles (of the khadhf size). When I placed them in his (peace and blessings be upon him) hand, he said: "Yes, (throw) with ones like these," saying it three times, "and beware of extremism (ghuluw) in religion, for those before you were destroyed only by extremism in religion."
A similar hadith is also narrated from the Prophet (peace and blessings be upon him) through a third chain.
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 12692