If people actually read the quran about.this topic that's exactly what it says and this is why the girls background is one of the four things our beloved prophet s.a.w mentioned beauty wealth lineage and most important deen. So if your a poor man its not wise to marry a rich lady since its her god given right that you need to provide her with what she had before you married her and if you can't don't marry her.
Secondly about mehr
The 4th verse of the surah Nisa (the Woman) commands:
“And give the women (on marriage) their mehr generously.” (4:4)
If the husband does not give his wife the mehr in compliance with the commands, then his wife keeps the right to demand and get it by applying to legal institutions. Till the moment she obtains the mehr all the rights given to her by marriage are vested and she has the right not to accomplish her marital duties.
The man has to pay to the divorced woman an amount which was decided at the time of Nikah that is “Mehr”. In Quran Allah Almighty said:
“And if you decided to divorce a wife in order to take another, do not take away anything of what you might have given the first one, even if you had given her a great amount of gold. Would you take it back by slandering her and committing a manifest offense? (Quran, 4:20)
Mehr only belongs to the wife and it is to be given to her. It is not the property of her parents or her guardian. If a husband dies without paying mehr to his wife, it will be an exceptional debt to him and it must be paid before the distribution of his inheritance among his inheritors. Prophet Muhammad (PBUH) said about the value of mehr:
“Go and look for something, even if it is a ring of iron.”(Bukhari)
Also the mehr you give has to be in accordance to the man's/family wealth. Don't joke about mehr guys it's a God given right Allah gave women so it's very important
