In Desert and Wilderness (1973)
Desert and Wilderness is a 1973 Polish film directed by Władysław Ślesicki. Adapted from the 1911 novel In Desert and Wilderness by Henryk Sienkiewicz, it tells the story of two kids, Staś Tarkowski and Nel Rawlison, kidnapped by the rebels during Mahdi's rebellion in Sudan..
More at Wikipedia.