I don't think there's any religion that forbids the marriage of first cousin, it's only established by tradition. The only thing I can come up with is the Chinese culture of not marrying a person with the same last name (I pity all then Chens out there
)