Is their any depth in the pit of Urr where the right hand of doom is threatened to reside within the belly of a whale? (The third wish)

That is, is there mythology of which this statement is based upon or maybe even inspired by the great pits of Ur?

Would like to read more on the Urr Pit if you can share resource links... Or is the reference purely unique to the storyteller?

Thanks,
Robert