Ali came back from Yemen, and the Prophet ﷺ asked him, "With what intention did you enter ihram?"Ali replied, "I entered ihram with the same intention as the Prophet ﷺ."The Prophet ﷺ said, "Were it not that I have the sacrificial animal with me, I would have exited ihram."
حدثني محمد بن حاتم حدثنا ابن مهدي حدثني سليم بن حيان عن مروان الأصفر
أن عليا قدم من اليمن فقال له النبي ﷺ بم أهللت فقال أهللت بإهلال النبي ﷺ قال لولا أن معي الهدي لأحللت