It is permissible for you to place your dead wife in the grave. Those who say you do not have the right to do so are wrong. You do not have to pay Kaffarah. On the contrary, you are going to be rewarded In sha’a-Allah (if Allah wills).May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.