Jami` at-Tirmidhi, Volume 5, Book 44, Hadith 3002 (DarusSalam)

Narrated Anas: "On the Day of Uhud, the incisors of the Prophet were broken, and he had a facial wound in the area of the forehead, such that the blood flowed over his face. He said: 'How can a people that do this to their Prophet succeed, while he is calling them to Allah?' So the following was revealed: Not for you is the decision; whether He turns in mercy towards them or punished them... (3:128) until its end."

حَدَّثَنَا أَحْمَدُ بْنُ مَنِيعٍ، حَدَّثَنَا هُشَيْمٌ، أَخْبَرَنَا حُمَيْدٌ، عَنْ أَنَسٍ، أَنَّ النَّبِيَّ صلى الله عليه وسلم كُسِرَتْ رَبَاعِيَتُهُ يَوْمَ أُحُدٍ وَشُجَّ وَجْهُهُ شَجَّةً فِي جَبْهَتِهِ حَتَّى سَالَ الدَّمُ عَلَى وَجْهِهِ فَقَالَ ‏"‏ كَيْفَ يُفْلِحُ قَوْمٌ فَعَلُوا هَذَا بِنَبِيِّهِمْ وَهُوَ يَدْعُوهُمْ إِلَى اللَّهِ ‏"‏ ‏.‏ فَنَزَلَتْ ‏:‏ ‏(‏ لَيْسَ لَكَ مِنَ الأَمْرِ شَيْءٌ أَوْ يَتُوبَ عَلَيْهِمْ أَوْ يُعَذِّبَهُمْ ‏)‏ إِلَى آخِرِهَا ‏.‏ قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ ‏.‏

sunnah.com