Pakistani officials say security forces have arrested at least three al-Qaida suspects after a gunfight near the Afghan border .