If a slave marries without the permission of his master, his marriage is invalid
It is narrated from Jabir (may Allah be pleased with him) that the Messenger of Allah ﷺ said:
أيما عبد تزوج بغير إذن سيده فهو عاهر
“A slave who marries without the permission of his master is an adulterer.”
[Hasan (good): Sahih Abi Dawud: 1829, Kitab al-Nikah: Chapter on the marriage of a slave without the permission of his masters, Irwa al-Ghalil: 1933, Abu Dawud: 2087, Tirmidhi: 1111, Hakim: 194/2, Ahmad: 301/3, Ibn Majah: 1959]
(Ibn Taymiyyah, may Allah have mercy on him) When the master has not given the slave permission, this marriage is invalid by the agreement of the Muslims.
[Al-Fatawa li-Ibn Taymiyyah: 90/2]
(The majority of scholars) hold this view.
[Al-Rawdah al-Nadiyyah: 62/2]
◈ The jurists differed on the issue of whether the marriage becomes effective if the master gives permission after the marriage or not.
(The Hanafis) The marriage of a slave is contingent upon the permission of the master.
(Shafi’i, may Allah have mercy on him) It will not become effective even through permission, because it is invalid, and an invalid act does not become valid through permission.
(Malik, may Allah have mercy on him) The marriage has already taken effect; now the master only has the authority to annul it.
(The preponderant view) The position of Imam Shafi’i (may Allah have mercy on him) appears to be the preponderant one.