(55) باب اسْتِحْبَابِ رَكْعَتَيْنِ قَبْلَ صَلاَةِ الْمَغْرِبِ
Mukhtar b. Fulful said:
I asked Anas b. Malik about the voluntary prayers after the afternoon prayer, and he replied: 'Umar struck hit hands on prayer observed after the 'Asr prayer and we used to observe two rak'ahs after the sun set before the evening prayer during the time of the Messenger of Allah (ﷺ). I said to him: Did the Messenger of Allah (ﷺ) observe them? He said: He saw us observing them, but he neither commanded us nor forbade us to do so.
Reference: Sahih Muslim 836
In-book reference: Book 6, Hadith 366
USC-MSA web (English) reference(deprecated numbering scheme): Book 4, Hadith 1820