SA accused of prior knowledge in Hamas attack