The Prophet (along with his companions) reached Mecca in the morning of the fourth of Dhul-Hijja assuming Ihram for Hajj only. So when we arrived at Mecca, the Prophet ﷺ ordered us to change our intentions of the Ihram for ʿUmra and that we could finish our Ihram after performing the ʿUmra and could go to our wives (for sexual intercourse). The people began talking about that. Jabir said surprisingly, "Shall we go to Mina while semen is dribbling from our male organs?" Jabir moved his hand while saying so. When this news reached the Prophet ﷺ he delivered a sermon and said, "I have been informed that some peoples were saying so and so; By Allah I fear Allah more than you do, and am more obedient to Him than you. If I had known what I know now, I would not have brought the Hadi (sacrifice) with me and had the Hadi not been with me, I would have finished the Ihram." At that Suraqa bin Malik stood up and asked "O Messenger of Allah ﷺ! Is this permission for us only or is it forever?" The Prophet ﷺ replied, "It is forever." In the meantime ʿAli bin Abu Talib came from Yemen and was saying Labbaik for what the Prophet ﷺ has intended. (According to another man, ʿAli was saying Labbaik for Hajj similar to Messenger of Allah ﷺ's). The Prophet ﷺ told him to keep on the Ihram and let him share the Hadi with him. (Using translation from Bukhārī 2505)
قَدِمَ رَسُولُ اللهِ ﷺ صَبِيحَةَ رَابِعَةٍ مِنْ ذِي الْحِجَّةِ مُهِلِّينَ بِالْحَجِّ لَا يُخَالِطُهُ شَيْءٌ فَلَمَّا قَدِمْنَا أَمَرَنَا فَجَعَلْنَاهَا عُمْرَةً بِأَنْ نَحِلَّ إِلَى نِسَائِنَا فَفَشَتْ فِي ذَلِكَ الْمَقَالَةُ قَالَ عَطَاءٌ قَالَ جَابِرٌ فَيَرُوحُ أَحَدُنَا إِلَى مِنًى وَذَكَرُهُ يَقْطُرُ مَنِيًّا قَالَ جَابِرٌ فَبَلَغَ ذَلِكَ رَسُولَ اللهِ ﷺ فَقَامَ خَطِيبًا فَقَالَ بَلَغَنِي أَنَّ أَقْوَامًا يَقُولُونَ كَذَا وَكَذَا وَاللهِ لَأَنَا أَتْقَى مِنْهُمْ وَلَوِ اسْتَقْبَلْتُ مِنْ أَمْرِي مَا اسْتَدْبَرْتُ مَا أَهْدَيْتُ وَلَوْلَا أَنَّ مَعِيَ الْهَدْيَ لَأَحْلَلْتُ قَالَ فَقَامَ سُرَاقَةُ بْنُ مَالِكِ بْنِ جُعْشُمٍ ؓ فَقَالَ يَا رَسُولَ اللهِ هِيَ لَنَا أَمْ لِلْأَبَدِ؟ فَقَالَ لَا بَلْ لِلْأَبَدِ قَالَ وَجَاءَ عَلِيُّ بْنُ أَبِي طَالِبٍ ؓ فَقَالَ أَحَدُهُمَا يَقُولُ لَبَّيْكَ بِمَا أَهَلَّ بِهِ رَسُولُ اللهِ ﷺ وَقَالَ الْآخَرُ لَبَّيْكَ بِحِجَّةِ رَسُولِ اللهِ ﷺ فَأَمَرَهُ رَسُولُ اللهِ ﷺ أَنْ يُقِيمَ عَلَى إِحْرَامِهِ وَأَشْرَكَهُ فِي الْهَدْيِ