Question:
What is the ruling on setting conditions at the time of marriage?
Answer:
If the conditions are not contrary to the Shariah and both parties are agreed upon them, the marriage will be validly concluded with those conditions. And if the conditions are contrary to the Shariah, then setting such conditions is forbidden.
Aisha (may Allah be pleased with her) narrates that the Messenger of Allah ﷺ said:
What is the matter with those among you who set conditions that are not in the Book of Allah? Any condition that is not in the Book of Allah is void, even if there are a hundred conditions.