Homeland security officials improperly gathered intelligence on the Nation of Islam.