Hadith.4855 - As for the narration of Al-Hasan ibn Mahbub from Abdullah ibn Sinan, from Abu Abdullah عليه السلام, who said: "A free man does not perform liʿan (mutual cursing) against a female slave, nor against a non-Muslim woman (dhimmiyyah), nor against a woman with whom he is in a temporary marriage (mut'ah),"
For he means the bondwoman whom he has intercourse with through ownership, milk al yamin, and the Dhimmi woman who is his possession and has not embraced Islam.
And the explained narration takes precedence over the general one.
And if a man performs mutual imprecation, lian, with his wife while she is pregnant, then later, after she gives birth, he claims the child and asserts that it is his, the child is returned to him, and he is not subjected to lashing because the mutual imprecation has already taken place.
This was narrated by al Bazanti from Abd al Karim from al Halabi from Abu Abdullah عليه السلام.