More than half a million Rohingya fled to Bangladesh from Myanmar in 2017.
The case was raised by a man whose 26-year-old son had been evading police since marrying an 18-year-old Rohingya. Police had been searching for Shoaib Hossain Jewel since October 2017.
Mr Jewel reportedly met the Rohingya woman while her family were sheltering at a local Muslim cleric’s house. He was said to have travelled hundreds of kilometres to find her in a refugee camp after her family were moved on from his village, before the couple got married.
Explaining the law in 2014, government officials said they believed wedding certificates were being used to try and claim legal documents including Bangladeshi passports. Under the law, anyone found to have married a Rohingya can be sentenced to seven years in prison.
Mr Jewel’s father, Babul Hossain, filed a petition against the law.