Mishkat al-Masabih 1179
وَعَنِ الْمُخْتَارِ بْنِ فُلْفُلٍ قَالَ: سَأَلْتُ أَنَسَ بْنَ مَالِكٍ عَنِ التَّطَوُّعِ بَعْدَ الْعَصْرِ فَقَالَ: كَانَ عُمَرُ يَضْرِبُ الْأَيْدِيَ عَلَى صَلَاةٍ بَعْدَ الْعَصْرِ وَكُنَّا نُصْلِي عَلَى عَهْدِ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ رَكْعَتَيْنِ بَعْدَ غُرُوبِ الشَّمْس قبل صَلَاةِ الْمَغْرِبِ فَقُلْتُ لَهُ: أَكَانَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يُصَلِّيهِمَا؟ قَالَ: كَانَ يَرَانَا نُصَلِّيهِمَا فَلَمْ يَأْمُرْنَا وَلَمْ يَنْهَنَا. رَوَاهُ مُسلم
From al-Mukhtar ibn Fulful, who said: I asked Anas ibn Malik about voluntary prayer after ʿAsr, and he said: ʿUmar used to strike hands for prayer after ʿAsr. In the time of the Messenger of Allah ﷺ we used to pray two rakʿahs after sunset, before the Maghrib prayer. I said to him: "Did the Messenger of Allah ﷺ pray them?" He said: "He used to see us praying them, and he neither commanded us nor forbade us." Reported by Muslim.