Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
abudawud:2785al-Rabīʿ b. Nāfiʿ > Muʿāwiyah / Ibn Salāam > Zayd / Ibn Salāam > Abū Salāam > ʿUbaydullāh b. Salmān

Ubaydullah ibn Salman reported on the authority of a man from the Companions of the Prophet ﷺ: When we conquered Khaybar, they (the people) took out their spoils which contained equipment and captives. The people began to buy and sell their spoils. When the Messenger of Allah ﷺ prayed, a man came to him and said: Messenger of Allah, I have gained today so much so that no one gained from this valley. He asked: Woe unto you, how much did you gain? He replied: I kept on selling and buying until I gained three hundred uqiyahs. The Messenger of Allah ﷺ said: I tell you a man who gained better than you. He asked: What is that, Messenger of Allah? He replied! Two rak'ahs (of supererogatory prayer) after the (obligatory) prayer.  

أبو داود:٢٧٨٥حَدَّثَنَا الرَّبِيعُ بْنُ نَافِعٍ حَدَّثَنَا مُعَاوِيَةُ يَعْنِي ابْنَ سَلاَّمٍ عَنْ زَيْدٍ يَعْنِي ابْنَ سَلاَّمٍ أَنَّهُ سَمِعَ أَبَا سَلاَّمٍ يَقُولُ حَدَّثَنِي عُبَيْدُ اللَّهِ بْنُ سَلْمَانَ

أَنَّ رَجُلاً مِنْ أَصْحَابِ النَّبِيِّ ﷺ حَدَّثَهُ قَالَ لَمَّا فَتَحْنَا خَيْبَرَ أَخْرَجُوا غَنَائِمَهُمْ مِنَ الْمَتَاعِ وَالسَّبْىِ فَجَعَلَ النَّاسُ يَتَبَايَعُونَ غَنَائِمَهُمْ فَجَاءَ رَجُلٌ حِينَ صَلَّى رَسُولُ اللَّهِ ﷺ فَقَالَ يَا رَسُولَ اللَّهِ لَقَدْ رَبِحْتُ رِبْحًا مَا رَبِحَ الْيَوْمَ مِثْلَهُ أَحَدٌ مِنْ أَهْلِ هَذَا الْوَادِي قَالَ وَيْحَكَ وَمَا رَبِحْتَ قَالَ مَا زِلْتُ أَبِيعُ وَأَبْتَاعُ حَتَّى رَبِحْتُ ثَلاَثَمِائَةِ أُوقِيَّةٍ فَقَالَ رَسُولُ اللَّهِ ﷺ أَنَا أُنَبِّئُكَ بِخَيْرِ رَجُلٍ رَبِحَ قَالَ مَا هُوَ يَا رَسُولَ اللَّهِ قَالَ رَكْعَتَيْنِ بَعْدَ الصَّلاَةِ  


See similar narrations below:

Collected by Bayhaqī
bayhaqi:12909Abū ʿAlī al-Rūdhbārī > Abū Bakr b. Dāsah > Abū Dāwud > al-Rabīʿ b. Nāfiʿ > Muʿāwiyah b. Sallām > Zayd b. Sallām > Abū Sallām > ʿUbaydullāh b. Salmān

Ubaydullah ibn Salman reported on the authority of a man from the Companions of the Prophet ﷺ: When we conquered Khaybar, they (the people) took out their spoils which contained equipment and captives. The people began to buy and sell their spoils. When the Messenger of Allah ﷺ prayed, a man came to him and said: Messenger of Allah, I have gained today so much so that no one gained from this valley. He asked: Woe unto you, how much did you gain? He replied: I kept on selling and buying until I gained three hundred uqiyahs. The Messenger of Allah ﷺ said: I tell you a man who gained better than you. He asked: What is that, Messenger of Allah? He replied! Two rak'ahs (of supererogatory prayer) after the (obligatory) prayer. (Using translation from Abū Dāʾūd 2785)   

البيهقي:١٢٩٠٩أَخْبَرَنَا أَبُو عَلِيٍّ الرُّوذْبَارِيُّ أنا أَبُو بَكْرِ بْنُ دَاسَةَ ثنا أَبُو دَاوُدَ ثنا الرَّبِيعُ بْنُ نَافِعٍ ثنا مُعَاوِيَةُ بْنُ سَلَّامٍ عَنْ زَيْدِ بْنِ سَلَّامٍ أَنَّهُ سَمِعَ أَبَا سَلَّامٍ يَقُولُ حَدَّثَنِي عُبَيْدُ اللهِ بْنُ سَلْمَانَ

أَنَّ رَجُلًا مِنْ أَصْحَابِ النَّبِيِّ ﷺ حَدَّثَهُ قَالَ لَمَّا فَتَحْنَا خَيْبَرَ أَخْرَجُوا غَنَائِمَهُمْ مِنَ الْمَتَاعِ وَالسَّبْيِ فَجَعَلَ النَّاسُ يَبْتَاعُونَ غَنَائِمَهُمْ فَجَاءَ رَجُلٌ فَقَالَ يَا رَسُولَ اللهِ لَقَدْ رَبِحْتُ رِبْحًا مَا رَبِحَهُ الْيَوْمَ أَحَدٌ مِنْ أَهْلِ هَذَا الْوَادِي قَالَ وَيْحَكَ وَمَا رَبِحْتَ؟ قَالَ مَا زِلْتُ أَبِيعُ وَأَبْتَاعُ حَتَّى رَبِحْتُ ثَلَاثَمِائَةَ أُوقِيَّةٍ فَقَالَ رَسُولُ اللهِ ﷺ أَنَا أُنَبِّئُكَ بِخَيْرِ رَجُلٍ رَبِحَ قَالَ مَا هُوَ يَا رَسُولَ اللهِ قَالَ رَكْعَتَيْنِ بَعْدَ الصَّلَاةِ