Acts of Peter
The opening story in Danilo Kiš's 1983 collection "The Encyclopedia of the Dead", "Simon Magus", retells the confrontation between Simon and Peter agreeing with the account in the "Acts of Peter", and provides an additional alternative ending in which Simon asks to be buried alive in order to be resurrected three days later (after which his body is found putrefied).