Iranian state TV has apologised for a segment which featured a relationship expert tell domestic violence victims to kiss their husband's feet.

"Even if your husband is a drug addict, if he beats you, just do it and you will see a miracle in your life," the woman was said to have told viewers.

The segment was aired last week by a state-controlled broadcaster in the central province of Yazd, US state broadcaster Radio Free Europe reported.

The woman advised spouses to “slowly give him a foot massage", before drying his feet and then “kiss his feet”.

This would relieve a husband’s stress, and help prevent strokes and heart attacks, she said.

Her advice was mocked on social media, with some branding the comments “nonsense” and “scary”.

“The world progresses, and in reverse gear we go,” one user wrote.

Isa Saharkhiz, an Iranian dissident journalist, shared the clip on Twitter.

"Establishment feminists: 'If you want your man to be energized for a month, follow the expert's advice,'" he said. "State TV expert calls on women to massage their husbands’ feet and kiss them."

The advice led official broadcasters to apologise, the Iranian Students News Agency (ISNA) reported.

Iran protests – in pictures Show all 11 1 /11 Iran protests – in pictures Iran protests – in pictures University students at an anti-government protest inside Tehran University, 30 December 2017 AP Iran protests – in pictures A university student at a protest inside Tehran University while a smoke grenade is thrown by anti-riot Iranian police, 30 December 2017 AP Iran protests – in pictures University students at a protest inside Tehran University, 30 December 2017 AP Iran protests – in pictures University students run away from the police during an anti-government protest inside Tehran University, 30 December 2017 AP Iran protests – in pictures An image grab taken from a handout video released by Iran's Mehr News agency reportedly shows a group of men pulling at a fence in a street in Tehran, 30 December 2017 AFP/Getty Iran protests – in pictures Demonstrators gather to protest in Tehran, 30 December 2017 AP Iran protests – in pictures Iranians chant slogans as they march in support of the government near the Imam Khomeini grand mosque in Tehran, 30 December 2017 AFP/Getty Iran protests – in pictures Iranians chant slogans as they march in support of the government near the Imam Khomeini grand mosque in Tehran, December 30 2017 Iran protests – in pictures Iranian clerics take part during a state-organized rally against anti-government protests in the country, in the holy city of Qom, south west Iran, 3 January 2018 EPA Iran protests – in pictures In this photo provided by the Iranian Students' News Agency, a clergyman takes a picture of a pro-government demonstration in the southwestern city of Ahvaz, Iran, 3 January 2018 ISNA via AP Iran protests – in pictures Pro-government demonstrators gather at the Massoumeh shrine in Iran's holy city of Qom, some 130 kilometres south of Tehran, 3 January 2018 AFP/Getty

The organisation run by student volunteers in the country, quoted the Yazd branch of Iranian state TV acknowledge complaints over “fragmented comments” by an “expert”.