حَدَّثَنَا الرَّبِيعُ بْنُ نَافِعٍ، حَدَّثَنَا مُعَاوِيَةُ، - يَعْنِي ابْنَ سَلاَّمٍ - عَنْ زَيْدٍ، - يَعْنِي ابْنَ سَلاَّمٍ - أَنَّهُ سَمِعَ أَبَا سَلاَّمٍ، يَقُولُ حَدَّثَنِي عُبَيْدُ اللَّهِ بْنُ سَلْمَانَ، أَنَّ رَجُلاً، مِنْ أَصْحَابِ النَّبِيِّ صلى الله عليه وسلم حَدَّثَهُ قَالَ لَمَّا فَتَحْنَا خَيْبَرَ أَخْرَجُوا غَنَائِمَهُمْ مِنَ الْمَتَاعِ وَالسَّبْىِ فَجَعَلَ النَّاسُ يَتَبَايَعُونَ غَنَائِمَهُمْ فَجَاءَ رَجُلٌ حِينَ صَلَّى رَسُولُ اللَّهِ صلى الله عليه وسلم فَقَالَ يَا رَسُولَ اللَّهِ لَقَدْ رَبِحْتُ رِبْحًا مَا رَبِحَ الْيَوْمَ مِثْلَهُ أَحَدٌ مِنْ أَهْلِ هَذَا الْوَادِي قَالَ ‏"‏ وَيْحَكَ وَمَا رَبِحْتَ ‏"‏ ‏.‏ قَالَ مَا زِلْتُ أَبِيعُ وَأَبْتَاعُ حَتَّى رَبِحْتُ ثَلاَثَمِائَةِ أُوقِيَّةٍ فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ أَنَا أُنَبِّئُكَ بِخَيْرِ رَجُلٍ رَبِحَ ‏"‏ ‏.‏ قَالَ مَا هُوَ يَا رَسُولَ اللَّهِ قَالَ ‏"‏رَكْعَتَيْنِ بَعْدَ الصَّلاَةِ ‏"
Translation
Narrated A man from the Companions of the Prophet

When we conquered Khaybar, they brought out their spoils from the goods and captives, and the people began to trade in their spoils. Then a man came while the Messenger of Allah (ﷺ) was praying and said, "O Messenger of Allah, I have made a profit today the like of which no one in this valley has made today." He (the Prophet) said, "Woe to you, what did you profit?" He replied, "I kept selling and buying until I made a profit of three hundred uqiyyahs." The Messenger of Allah (ﷺ) said, "Shall I tell you of someone who made a better profit than that?" He asked, "What is it, O Messenger of Allah?" He said, "Two rak'ahs after the prayer."