وَهُوَ الَّذِي كَفَّ أَيْدِيَهُمْ عَنكُمْ وَأَيْدِيَكُمْ عَنْهُم بِبَطْنِ مَكَّةَ مِن بَعْدِ أَنْ أَظْفَرَكُمْ عَلَيْهِمْ وَكَانَ اللَّهُ بِمَا تَعْمَلُونَ بَصِيرًا
It is He who withheld their hands from you, and your hands from them, in the valley of Makkah, after He had given you victory over them, and Allah sees best what you do.
Agha Ali Puya Commentary
Commentary on Quran 48:24
[Pooya/Ali Commentary 48:24] During the course of events at Hudaybiya any incident might have plunged the Quraysh and the Muslims into a fight. On the one hand, the Muslims, though unarmed, had sworn to stand together, and if the Holy Prophet wanted he could have forced entrance to the Kabah, and on the other hand the Quraysh were determined to keep out the Muslims by resorting to armed confrontation, if necessary. Allah restrained both sides from anything that would have resulted in bloodshed. Refer to the commentary of verse one to know that the treaty of Hudaybiya was a victory for the Holy Prophet.