Ka is the subject of anna in annaka qāʾimun.

Infinitival Particles: Mā, An and Anna