A:
If the reality is as you mentioned, it is permissible for you
to take the retirement pension as it is a reward for the period you served in the government.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.