Iraq’s parliament passed a bill on Saturday criminalising same-sex relations, which will receive a sentence of up to 15 years in prison, in a move rights groups condemned as an “attack on human rights”.