Shu’bah said: Ayub narrated to me from ‘Amr bin Dinar, from Sayyiduna Ibn ‘Umar (may Allah be pleased with them both) that this is the Sunnah, that is, to perform two rak‘ahs of prayer behind Maqam Ibrahim after Tawaf is Sunnah.
Hadith Referenceسنن دارمي / من كتاب المناسك / 1970
Hadith Takhrijاس روایت کی سند بھی موصول اور صحیح ہے جیسا کہ اوپر ذکر کیا جا چکا ہے۔ مزید حوالہ دیکھئے: [أحمد 85/2] ، [أبويعلی 5629]
Brief Explanation
(Commentary on Hadiths 1967 to 1970)
If space is not available there, then these two rak‘ahs can be performed at any place before the sa‘i. This has already been mentioned in the explanation of Hadith number (1887).