Treaty of Hudaybiyyah...
https://en.wikipedia.org/wiki/Treaty_of_Hudaybiyyah
More info on treaty and Europe
https://counterjihadreport.com/tag/treaty-of-hudaybiyyah/