You probably have a thing for your best friends husband.
It is simple. You envy her in some way that you do,nt have or wish to have
What was the content of the dream? There is a good chance your best friend was talking about her husband and it got stuck in your head, and then your dream. It probably means nothing more than that he exists.