Hadith on Salat: Two raka’at of recommended prayer before Maghrib

Anas ibn Malik reported: When the caller to prayer announced the prayer, people among the companions of the Prophet, peace and blessings be upon him, would stand and proceed to the pillars of the mosque until the Prophet came out to them. Thus, they would pray two cycles before sunset prayer, for there was not much time between the announcement and performance of prayer.

Source: Ṣaḥīḥ al-Bukhārī 625

Grade: Sahih (authentic) according to Al-Bukkari

عَنْ أَنَسِ بْنِ مَالِكٍ قَالَ كَانَ الْمُؤَذِّنُ إِذَا أَذَّنَ قَامَ نَاسٌ مِنْ أَصْحَابِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَبْتَدِرُونَ السَّوَارِيَ حَتَّى يَخْرُجَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ وَهُمْ كَذَلِكَ يُصَلُّونَ الرَّكْعَتَيْنِ قَبْلَ الْمَغْرِبِ وَلَمْ يَكُنْ بَيْنَ الْأَذَانِ وَالْإِقَامَةِ شَيْءٌ

625 صحيح البخاري كتاب الأذان باب كم بين الأذان والإقامة ومن ينتظر الإقامة