Not very likely but it might happen if you spent much time in the house where he smoked. It happens with relatives of cancer patients who smoke marijuana for the pain at home.
I doubt you were exposed to the smoke constantly for weeks...
However, it's better to check before you come to Dubai.