Officials in Saudi Arabia say authorities have arrested three men with alleged al-Qaida links , including one who officials say was preparing for attacks .