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:110:1In the name of Allah, the Entirely Merciful, the Especially Merciful.

When the victory of Allah has come and the conquest,  

When the help of God, for His Prophet (s), against his enemies, comes together with victory, the victory over Mecca,
القرآن:١١٠:١بِسْمِ اللَّهِ الرَّحْمَٰنِ الرَّحِيمِ

إِذَا جَاءَ نَصْرُ اللَّهِ وَالْفَتْحُ  

{إذا جاء نصر الله} نبيَّه ﷺ على أعدائه {والفتح} فتح مكة.