Nigerian man jailed for idleness