It is narrated from Sayyiduna Jabir (may Allah be pleased with them both) that he said: "When the Messenger of Allah (peace and blessings be upon him) entered Makkah, he (peace and blessings be upon him) entered the (Sacred) Mosque and touched the Black Stone, then moved on to his right; he did raml (walked briskly) in (the first) three circuits (of the tawaf) and walked (normally) in four. Then he came to the Station of Ibrahim and said: 'And take the Station of Ibrahim as a place of prayer.' Then he (peace and blessings be upon him) prayed two rak'ahs while the Station of Ibrahim was between him (peace and blessings be upon him) and the House of Allah. Then he (peace and blessings be upon him) came to the House at the corner (of the Black Stone) and touched it, then went out towards al-Safa."
Imam al-Tabarani (may Allah have mercy on him) said: "No one narrated this hadith from Sufyan (may Allah have mercy on him) except Yahya (may Allah have mercy on him)."