Islamic Interpretation of Dreams (Ibn-i Sirin):

(Friendship) If a sick person sees himself walking on the road along with a friend or travelling with him in a dream, it means that he will recover from his illness.

Accompanying an unknown person on the road in a dream means suffering losses. Walking in the company of a relative in a dream has a negative connotation.