n Desert and Wilderness is a 2001 Polish film directed by Gavin Hood. 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.

Overview from themoviedb.org