All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad is His slave and Messenger.
May Allaah reward you abundantly for your keeness to be kind to your parents and for taking care of your wife.
If the matter is as you mentioned, that you took your wife to her mother’s house and then went to visit your family, then there is no harm in what you did, as it is not compulsory to stay with your wife. For more benefit, see Fatwa 85308.