Anas (May Allah be pleased with him) reported:
I saw the principal Companions of Messenger of Allah (ﷺ) rushing to the pillars (of the mosque) to perform two Rak'ah prayers behind them before the Maghrib prayer.[Al-Bukhari]. (ID)
App reference (ID): Book 9, Hadith 133 (ID)
Arabic/English book reference (ID): Book 9, Hadith 1123 (ID)