Azizur Rahman Mansour, the Taliban's representative, during a speech at the International Islamic Unity Conference in Tehran, emphasised on unity among Muslims.
Over the past three years, the Taliban has imposed "Sharia" in Afghanistan and eliminated poppy cultivation and drug trafficking, he claimed.
Mansour is the deputy minister of Guidance, Hajj and Religious Affairs, who headed a delegation to Tehran at the invitation of the Islamic Republic.
He did not get up during the opening ceremony of the conference on Thursday in honour of the national anthem of the Islamic Republic. Officials of the Islamic Republic strongly criticised the behaviour of the Taliban representative, calling it disrespectful.
Iran's Foreign Ministry has also summoned the Taliban's senior diplomat in Tehran.
The Taliban representative apologised for his behaviour and on the second day of the conference, like other members of the conference, he stood up in honour of the national anthem of the Islamic Republic.
The Taliban's Ministry of Hajj and Religious Affairs wrote in a statement that Mansour delivered a speech on Friday on the second day of the World Islamic Unity Conference.
He said that the unity of the Islamic community is a religious duty and neglecting it is a sin.