[Machine] About it, its lord said, "If its owner comes and chooses it, then if he chooses the reward, it will be for him, and if he chooses his wealth, it will be for him." Ibn Mas'ud said, "This is how they should treat the found object." And the wording is from the narration of 'Abdul-Razzaq.
عَنْ رَبِّهَا «فَإِنْ جَاءَ صَاحِبُهَا خَيَّرَهُ فَإِنِ اخْتَارَ الْأَجْرَ كَانَ لَهُ وَإِنِ اخْتَارَ مَالَهُ كَانَ لَهُ مَالُهُ» قَالَ ابْنُ مَسْعُودٍ «هَكَذَا فَافْعَلُوا بِاللُّقَطَةِ» وَاللَّفْظُ لِحَدِيثِ عَبْدِ الرَّزَّاقِ