Its ur niyat thats more important more than the action…
If the niyat aint even there to please Allah, then the wife or hubby making their spouse pray dont mean a thing