[Machine] I heard the Messenger of Allah ﷺ saying, "There is no prescribed prayer on a day that occurs twice." Ali said, "Al-Hussein alone reported it from Amr ibn Shuayb, and Allah knows best." The scholar said, "And if this is true, it means it was performed in congregation and he did not repeat it, and his saying 'There is no prescribed prayer on a day that occurs twice' means both of them are obligatory, and the matter of repeating them is a choice and not a necessity, and Allah knows best."
سَمِعْتُ رَسُولَ اللهِ ﷺ يَقُولُ لَا صَلَاةَ مَكْتُوبَةً فِي يَوْمٍ مَرَّتَيْنِ قَالَ عَلِيٌّ تَفَرَّدَ بِهِ الْحُسَيْنُ الْمُعَلِّمُ عَنْ عَمْرِو بْنِ شُعَيْبٍ وَاللهُ تَعَالَى أَعْلَمُ قَالَ الشَّيْخُ وَهَذَا إِنْ صَحَّ فَمَحْمُولٌ عَلَى أَنَّهُ قَدْ كَانَ صَلَّاهَا فِي جِمَاعَةٍ فَلَمْ يُعِدْهَا وَقَوْلُهُ لَا صَلَاةَ مَكْتُوبَةً فِي يَوْمٍ مَرَّتَيْنِ أَيْ كِلْتَاهُمَا عَلَى وَجْهِ الْفَرْضِ وَيَرْجِعُ ذَلِكَ عَلَى أَنَّ الْأَمْرَ بِإِعَادَتِهَا اخْتِيَارٌ وَلَيْسَ بِحَتْمٍ وَاللهُ تَعَالَى أَعْلَمُ