I've been looking at the guides to posting a good question, but I really can only remember this one scene from a sci-fi book. I read it sometime between 1995 and 2010. It was a U.K. library book.
The plot: A woman is involved with making contact with aliens on a far distant world. I can't recall if she was ship crew or an independent scientist, but I think she was often arguing with other humans.
She is in conversation with the aliens (no description, sorry), and they pull some kind of test on her. They suddenly reveal they have both mind reading and teleportation.
She is astounded to find herself hanging several feet above a pool of bubbling lava in a pit. Her frail old dad from Earth has appeared and is hanging there in shock also. The aliens tell her she has to choose him or her; she instantly let's go and drops into the lava. As she enters she is instantaneously teleported away to hospital where she is screaming in agony. Afterwards, she has several weeks of emergency burn treatment and skin grafts.
Finally able to move, she returns to alien world and resumes discussions, confident in her ability to strike some rapport.
An hour later the same scenario suddenly happens again, and again she drops right away into the lava to save her aged dad. Again she's in horrible agony in the burns unit.
That's it, all I've got. I hope it rings familiar.
Edit/update (just remembered) After recuperating from the burns unit she once again journeys to the distant planet. Maybe she likes the pain? This time she establishes proper communication with the aliens and proves some mysterious point. I still can't think of anything else