Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:90:2

And you, ˹O Muhammad˺, are free of restriction in this city -  

and you, O Muhammad (s), have free disposal of, sanction for, this land, in that you will be given permission to fight in it — and indeed God fulfilled this promise to him on the day of the Conquest ˹of Mecca˺ (thus this is a parenthetical statement intervening between that by which the oath has been sworn and that which is a supplement thereto).
القرآن:٩٠:٢

وَأَنْتَ حِلٌّ بِهَٰذَا الْبَلَدِ  

{وأنت} يا محمد {حِلٌ} حلال {بهذا البلد} بأن يحل لك فتقاتل فيه، وقد أنجز الله له هذا الوعد يوم الفتح، فالجملة اعتراض بين المقسم به وما عطف عليه.