It is narrated from Sayyiduna Ibn Mas'ud (may Allah be pleased with him) that I have performed two rak'ahs in Mina with the Prophet (peace and blessings of Allah be upon him), as well as with Sayyiduna Abu Bakr and Sayyiduna Umar (may Allah be pleased with them both).