Any money, property or other assets you have inherited before or during your marriage, or are due to inherit, may be considered as part of a divorce settlement. Whether a specific inheritance will need to be included in the settlement will depend on the specific circumstances, so it is essential to take legal advice at the earliest opportunity.
One way to prevent such issues arising is to have a post-nuptial agreement made if you receive a significant inheritance during your marriage, specifying that the inheritance would be excluded from any financial settlement if your marriage ends in divorce.