Article 809 of the Korean Civil Code
Article 809 of the Korean Civil Code (Korean: 민법 제809조) was the codification of a traditional rule prohibiting marriage between men and women who have the same surname resulting from belonging to the same clan and possessing the same genealogical patriline and sharing the same ancestral home (bon-gwan). On 16 July 1997, the Constitutional Court of Korea ruled the article unconstitutional.
Source: Wikipedia — Article 809 of the Korean Civil Code (CC BY-SA 4.0)