A teen was arrested in WA just hours after a Sydney mosque, 3800km away, raised the alarm.