Thank you for your question. Praying and wearing hijab are very important acts of obedience in Islam and are essential for a person's well being in this world and the next. These are personal obligations in front of God and so it is not right for another to interfere in them even if that be a spouse and indeed, a spouse's approval is not conditional for the acceptance of those actions. Marriages are different and so the solution in working towards a compromise is specific to each relationship. If there is something that is specifically bothering your husband maybe you can help him express his issues and talk through it. For some relationships people can agree to disagree on certain issues and in others they can't. But when it comes to the performance of obligatory actions then that is a line that you have to remain principled on, even if the consequences are difficult.
May Allah make you successful