A woman who had married her own slave was brought to Hadrat Umar bin al-Khattab (may Allah be pleased with him). The woman said: Has Allah not said in the Qur'an: "Or those your right hands possess" [Surah al-Nisa: 3]? Hadrat Umar (may Allah be pleased with him) applied the prescribed punishment to both of them, separated them, and wrote to the governors: Any woman who marries her slave, or marries without evidence, or without a guardian, apply the prescribed punishment to both of them.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب النكاح / 13735