What connects istaqāmat and mustaqīmah?

The Marāghah Maqāmah: Literary Triumph, Nostalgia and Refusal of Office