As per this QnA on this site itself, it gives complete details of Lord Hanumāna getting married and having family.
No, Hanuman was technically not a bachelor (Brahmachari). His wife was Suvarcalā (सुवर्चला) who was the daughter of Surya (the Sun god)...
Surya grants him a boon that he will still be a bachelor even after marriage as a Prajapatya Brahmachari and will maintain his celibacy.
On further research, I was able to find an article about a temple in Khammam district of Telangana, named - Sri Suvarchala Sahitha Hanuman Temple. This temple is build on this very claim of Hanumāna having a wife. Another temple, based on the same premises is the Sri Veeranjaneya Swamy Temple, also known as Gandi Kshetram, situated in the Kadapa district of the Andhra Pradesh.
So, What might be the scriptural source and validity of this story?
My guess is, it's mainly based on either Jainism or Buddhism based and inspired accounts, and is not within the paradigm of our Hinduism pantheon based stories. But, still it'll be good to clarify this properly in here and see if sources exist within Hinduism itself maybe?