@jaminko If you rebuy the same asset within 30 days of the disposal, whether that's selling yourself or gifting to your spouse, you'll be caught by the bed and breakfast rules.
If you have unused allowance then it would be better for them to transfer shares to you to sell instead and you send...