Stargate SG-1: The Barque of Heaven

Publishers summary
Through the underworld...

Millennia ago, at the height of his power, the System Lord Ra decreed that any Goa'uld wishing to serve him must endure a great trial. Victory meant power and prestige, defeat brought banishment and death.

On a routine expedition to an abandoned Goa’uld world, SG-1 inadvertently initiate Ra’s ancient trial – and once begun, the trial cannot be halted. Relying on Dr. Daniel Jackson’s vast wealth of knowledge, Colonel O'Neill must lead his team from planet to planet, completing each task in the allotted time. There is no rest, no respite. To stop means being trapped forever in the farthest reaches of the galaxy, and to fail means death.

Victory is their only option in this terrible test of endurance – an ordeal that will try their will, their ingenuity, and above all their bonds of friendship.

Authors summary
The Stargate SG-1 team find themselves transported to a world where they must solve a series of riddles and avoid deadly traps in order to travel home. Pursued by Goa'uld and Jaffa, it is a race against death to the finish line.

Continuity Notes
During the course of the novel, it is suggested that Ra was not actually a Goa'uld- hence explaining the differences between Ra in the film and the other Goa'uld subsequently seen in the TV series- but was somehow connected to the Ancients, thus granting him access to a Ancient-style servant known as Bes who oversees the trials until SG-1 pass them for the final time.