Two Nigerians jailed