1980s-1990s colour movie, possibly Algerian/French or Tunisian/French or Moroccan/French movie.
A (foreign?) doctor lives in a small town in the desert.
A man goes to the doctor’s house late at night to ask for help for his sick daughter. The doctor refuses to help because it’s too late at night and says he’ll check her the next day. The daughter gets sicker and dies during the night.
Later the doctor needs help to get to another town across the desert. The girl’s father says he will take him. Instead of going to the destination, the man takes revenge by leading the doctor deeper and deeper into the desert, knowing they will both die.