The poem referenced by Rumpole to describe his trip to Africa is from a work titled, "The Golden Road to Samarkand" by James Elroy Flecker.
Although set in the fictional African state of "Naranga" this episode was made entirely in the UK, mostly at Thames TV studios in Teddington Middlesex.