Ati said, I asked Anas bin Malik about offering voluntary prayers after Asr.He replied, "Umar used to strike people's hands to stop them from praying after Asr. During the time of the Prophet ﷺ, we used to pray two units after sunset, before the Maghrib prayer."I asked him, "Did the Messenger of Allah ﷺ himself pray these two units?"He answered, "He would see us praying them, and he neither commanded us to do so nor forbade us from it."
و حدثنا أبو بكر بن أبي شيبة وأبو كريب جميعا عن ابن فضيل قال أبو بكر حدثنا محمد بن فضيل
سألت أنس بن مالك عن التطوع بعد العصر فقال كان عمر يضرب الأيدي على صلاة بعد العصر وكنا نصلي على عهد النبي ﷺ ركعتين بعد غروب الشمس قبل صلاة المغرب فقلت له أكان رسول الله ﷺ صلاهما قال كان يرانا نصليهما فلم يأمرنا ولم ينهنا