[Machine] That the Messenger of Allah ﷺ used to perform the optional prayer before the revelation of the verse on the spoils of war. But when the verse was revealed, he stopped performing the optional prayer that he used to perform. And this was in relation to the one-fifth share of Allah and the Prophet ﷺ . It has been narrated from Sa'id ibn al-Musayyib that he said: "People used to give the optional prayer from the one-fifth share."
أَنَّ رَسُولَ اللهِ ﷺ كَانَ يُنَفِّلُ قَبْلَ أَنْ تَنْزِلَ يَعْنِي الْآيَةَ فِي الْمَغْنَمِ فَلَمَّا نَزَلَتْ تَرَكَ النَّفْلَ الَّذِي كَانَ يُنَفِّلُ فَصَارَ ذَلِكَ فِي خُمُسِ الْخُمُسِ وَهُوَ سَهْمُ اللهِ ﷻ وَسَهْمُ النَّبِيِّ ﷺ وَرُوِّينَا عَنْ سَعِيدِ بْنِ الْمُسَيِّبِ أَنَّهُ قَالَ كَانَ النَّاسُ يُعْطَوْنَ النَّفْلَ مِنَ الْخُمُسِ