Sunan an-Nasa'i, Book 26, Hadith 158 (In-Book)

It was narrated from 'Abdur-Rahman bin 'Amr: "The Messenger of Allah said: 'Whatever is given as a dowry, or gift or is promised her before the marriage belongs to her. Whatever is given after the marriage belongs to the one to whom it was given. And the most deserving for which a (man) is to be honored is (when marrying off) his daughter or sister.'" This is the wording of 'Abdullah (one of the narrators).

أَخْبَرَنَا هِلاَلُ بْنُ الْعَلاَءِ، قَالَ حَدَّثَنَا حَجَّاجٌ، قَالَ ابْنُ جُرَيْجٍ حَدَّثَنِي عَمْرُو بْنُ شُعَيْبٍ، ح وَأَخْبَرَنِي عَبْدُ اللَّهِ بْنُ مُحَمَّدِ بْنِ تَمِيمٍ، قَالَ سَمِعْتُ حَجَّاجًا، يَقُولُ قَالَ ابْنُ جُرَيْجٍ عَنْ عَمْرِو بْنِ شُعَيْبٍ، عَنْ أَبِيهِ، عَنْ عَبْدِ اللَّهِ بْنِ عَمْرٍو، أَنَّ النَّبِيَّ صلى الله عليه وسلم قَالَ ‏ "‏ أَيُّمَا امْرَأَةٍ نُكِحَتْ عَلَى صَدَاقٍ أَوْ حِبَاءٍ أَوْ عِدَةٍ قَبْلَ عِصْمَةِ النِّكَاحِ فَهُوَ لَهَا وَمَا كَانَ بَعْدَ عِصْمَةِ النِّكَاحِ فَهُوَ لِمَنْ أُعْطِيَهُ وَأَحَقُّ مَا أُكْرِمَ عَلَيْهِ الرَّجُلُ ابْنَتُهُ أَوْ أُخْتُهُ ‏" ‏ ‏.‏ اللَّفْظُ لِعَبْدِ اللَّهِ ‏.‏

sunnah.com