Seventy-six illegal immigrants were detained following several raids at foreign worker settlements in Shah Alam and Kajang.