Mukhtar bin Fulful reported,

Ati said, "I asked Anas bin Malik about voluntary prayer after the Asr prayer."He replied, "Umar used to strike people's hands for praying after Asr. During the time of the Prophet ﷺ, we used to pray two units of prayer after sunset, before the Maghrib prayer."I asked him, "Did the Messenger of Allah ﷺ pray them himself?"He answered, "He used to see us praying them, yet he neither commanded us to do so nor forbade us from it."

Azami 2460

Sahih

عن مختار بن فلفل قال

سألت أنس بن مالك عن التطوع بعد العصر، فقال: كان عمر يضرب الأيدي على صلاة بعد العصر، وكنا نصلي على عهد النبي ﷺ الركعتين بعد غروب الشمس قبل صلاة المغرب، فقلت له: أكان رسول الله ﷺ الصلاهما؟ قال: كان يرانا نصليهما فلم يأمرنا، ولم ينهنا.

الأعظمي 2460صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Sunnah prayers and voluntary prayers in general
Section
Two rakahs before Maghrib
Numbering
Jami al-Kamil 2460 (2nd edition)
Azami 2460