On the day of Badr, we heard a sound falling from the sky to the earth, as if it were the sound of a pebble falling into a basin. The Messenger of Allah ﷺ threw those pebbles, and they were defeated. That is the meaning of the words of Allah Almighty, "And you did not throw when you threw, but it was Allah who threw, that He might test the believers with a good trial from Him" [Anfal 8:17].
لما كان يوم بدر سمعنا صوتا وقع من السماء إلى الأرض، كأنه صوت حصاة وقعت في طست، ورمى رسول الله ﷺ بتلك الحصيات، فانهزموا، فذلك قول الله تعالى: {وما رميت إذ رميت ولكن الله رمى وليبلي المؤمنين منه بلاء حسنا}.
Tabarani narrated it in Mujam al-Kabir (3/227), Tabari in his tafsir (11/84), Ibn Abu Hatim in his tafsir (5/1672), and Bayhaqi in Dalail (3/80), all of them through routes from Musa bin Yaqub Zami, from Yazid bin Abdullah, from Abu Bakr bin Sulayman bin Abu Huthaymah, from Hakeem bin Hizam, who related it. The wording is that of Ibn Abu Hatim. Haythami said in Majma (6/84), "Its chain is hasan." I say, Musa bin Yaqub Zami is hasan al-hadith, and the chain also contains Yazid bin Abdullah. Bayhaqi said, "This is Ibn Wahb bin Zama, the uncle of Musa bin Yaqub." No one has affirmed his reliability, except that Ibn Hibban mentioned him among the trustworthy narrators, and his nephew Musa bin Yaqub narrated from him. His hadith has a basis, and it belongs to the accounts of the military campaigns, not to matters of legal rulings.Tabarani also narrated it in Mujam al-Kabir (3/227) from Ahmad bin Bahram Aydhji, who said, Muhammad bin Yazid Asfati told us, who said, Ibrahim bin Yahya Shajari told us, who said, my father told me, who said, Musa bin Yaqub Zami told us, from Abdullah bin Yazid, freedman of Aswad bin Sufyan, from Abu Bakr bin Sulayman bin Abu Huthaymah, from Hakeem bin Hizam, who said, "On the day of Badr, the Messenger of Allah ﷺ ordered, then took a handful of pebbles and faced us with them and threw them at us, saying, 'May the faces be disfigured.' So we were routed." Then Allah revealed, "You did not throw it, but it was Allah who threw it" [Anfal 8:17].This is how it appears in this chain, "Abdullah bin Yazid, freedman of Aswad bin Sufyan," even though more than one narrator transmitted it from Musa Zami and named his teacher "Yazid bin Abdullah," as in the previous chain. In fact, Ibn Abu Hatim narrated it (5/1672) through the route of Yahya bin Muhammad bin Hani, from Musa Zami, with the same wording, and named him "Yazid bin Abdullah," matching the report of the group. So it seems more likely that what appears in Tabarani's Mujam is a mistake, for its chain contains several defects. Tabarani's own teacher's condition is unknown, Ibrahim bin Yahya Shajari is layyin al-hadith, and his father Yahya bin Muhammad bin Abbad bin Hani Shajari is daif, and he was blind and used to be prompted with what he narrated. Yet if what appears in Mujam al-Kabir is preserved, perhaps Zami narrated it from two different teachers, in which case one would strengthen the other. In conclusion, it is a hasan hadith, as Haythami said.As for His saying, "You did not throw it when you threw", it means, you did not make it reach when you threw, but Allah made it reach, and it struck the faces of the disbelievers' army, so that not one of them remained without being struck by something of it.Ibn Ishaq said, then the Messenger of Allah ﷺ took a handful of pebbles, faced Quraysh with them, and said, "May the faces be disfigured," then sprinkled them with it, and commanded his companions, saying, "Charge." So the rout occurred, and Allah the Exalted killed those of the chiefs of Quraysh who were killed, and captured those of their nobles who were captured. Sirat bin Hisham (1/628)