إِنَّا أَرْسَلْنَاكَ شَاهِدًا وَمُبَشِّرًا وَنَذِيرًا
“Indeed, [O Prophet,] We have sent you as a witness, a deliverer of good news, and a warner,”
This ayah is part of Surah al-Fath, revealed -- as this event's own significance note states -- "concerning this incident" (Q48:1), the Treaty of Hudaybiyyah.