A pregnant Somali refugee who says she was raped on Nauru will return to Australia to discuss her abortion and mental health with medical experts, Immigration Minister Peter Dutton says.

He rejected suggestions the decision was influenced by concern from the United Nations, which on Wednesday urged the Turnbull government to allow the woman "a decent option".

Minister for Immigration Peter Dutton is visiting the Middle East.

The 23-year-old woman who goes by the pseudonym Abyan has alleged a rape on Nauru 15 weeks ago left her pregnant. She is seeking a termination.

The Turnbull government flew her to Australia for the procedure earlier this month, but returned her to Nauru a few days later, claiming she rejected treatment when it was offered.