Where should I light candles if I'll be a guest at someone's home for the night meal but will return to my home to sleep?

I’ll be eating by a relative for the Friday night meal and I’ll be walking home to sleep Friday night. Do I light at home or at my relative where I’ll be eating the meal?

You should light at home. Make sure to make a bracha on a light that will still be on when you get home. (Not a light set on a timer)