The Messenger of Allah ﷺ said, "Whatever a woman is married for as dowry, gift, or promise made before the marriage contract is concluded belongs to her, and whatever is given after the marriage contract is concluded belongs to the one to whom it was given. The most deserving thing for which a man is honored is his daughter or his sister."
حدثنا محمد بن معمر حدثنا محمد بن بكر البرساني أخبرنا ابن جريج
قال رسول الله ﷺ أيما امرأة نكحت على صداق أو حباء أو عدة قبل عصمة النكاح فهو لها وما كان بعد عصمة النكاح فهو لمن أعطيه وأحق ما أكرم عليه الرجل ابنته أو أخته
[Hasan]. Narrated by Nasai, Book of Nikah, Chapter on Marrying for a Nawah of Gold, hadith no. 3355, and Ibn Majah, hadith no. 1955, from the hadith of Ibn Jurayj through this same chain, and he explicitly stated hearing it directly in the version narrated by Nasai.