Sahih al-Bukhari 1558
Narrated Anas bin Malik:
Ali came to the Prophet ﷺ from Yemen (to Mecca). The Prophet asked Ali, "With what intention have you assumed Ihram?" Ali replied, "I have assumed Ihram with the same intention as that of the Prophet." The Prophet ﷺ said, "If I had not the Hadi with me I would have finished the Ihram." Muhammad bin Bakr narrated extra from Ibn Juraij, "The Prophet ﷺ said to Ali, "With what intention have you assumed the Ihram, O Ali?" He replied, "With the same (intention) as that of the Prophet." The Prophet ﷺ said, "Have a Hadi and keep your Ihram as it is."
حَدَّثَنَا الْحَسَنُ بْنُ عَلِيٍّ الْخَلاَّلُ الْهُذَلِيُّ، حَدَّثَنَا عَبْدُ الصَّمَدِ، حَدَّثَنَا سَلِيمُ بْنُ حَيَّانَ، قَالَ سَمِعْتُ مَرْوَانَ الأَصْفَرَ، عَنْ أَنَسِ بْنِ مَالِكٍ ـ رضى الله عنه ـ قَالَ قَدِمَ عَلِيٌّ ـ رضى الله عنه ـ عَلَى النَّبِيِّ ﷺ مِنَ الْيَمَنِ فَقَالَ " بِمَا أَهْلَلْتَ ". قَالَ بِمَا أَهَلَّ بِهِ النَّبِيُّ ﷺ. فَقَالَ " لَوْلاَ أَنَّ مَعِي الْهَدْىَ لأَحْلَلْتُ ". وَزَادَ مُحَمَّدُ بْنُ بَكْرٍ عَنِ ابْنِ جُرَيْجٍ قَالَ لَهُ النَّبِيُّ ﷺ " بِمَا أَهْلَلْتَ يَا عَلِيُّ ". قَالَ بِمَا أَهَلَّ بِهِ النَّبِيُّ ﷺ قَالَ " فَأَهْدِ وَامْكُثْ حَرَامًا كَمَا أَنْتَ ".