It is narrated from Zirr (may Allah have mercy on him) that Abd al-Rahman bin Awf and Ubayy bin Ka'b (may Allah be pleased with them both) used to pray two rak'ahs before Maghrib.
(b) It is narrated from Amr bin Amir (may Allah have mercy on him): I heard Sayyiduna Anas (may Allah be pleased with him) say that the senior Companions (may Allah be pleased with them) of the Prophet (peace and blessings be upon him) would hurry to the pillars of the mosque, for they used to pray two rak'ahs before Maghrib.
(c) It is narrated from Ibrahim (may Allah have mercy on him) that Abu Bakr (may Allah be pleased with him), Umar (may Allah be pleased with him) and Sayyiduna Uthman (may Allah be pleased with him) did not pray two rak'ahs before Maghrib.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 4500
Hadith Gradingمحدثین:صحيح
Hadith Takhrij«صحيح۔ اخرجه الطحاوي في مشكل الاثار 14/122»