Pope Francis has told worshipers in a mosque in the capital of the Central African Republic that "Christians and Muslims are brothersand sisters".
He was speaking to Muslims who had sought shelter in Bangui following nearly three years of violence between Christians and Muslims.
The mosque visit was seen as perhaps the most difficult part of his Africa tour, a BBC correspondent says
Pope Francis will conclude his trip to Africa with a final Mass in Bangui.
Most Muslims left the capital as a result of the fighting but 15,000 are left in an area called PK5, surrounded by armed Christian militia.
On Sunday, the Pope called on fighting factions in the CAR to lay down their weapons.
Celebrating Mass in Bangui, he said they should instead arm themselves "with justice, love, mercy and authentic peace".
Earlier, he said he hoped next month's election in the CAR would open a "new chapter" for the country.
CAR has been torn apart by violence between Muslim rebels and mainly Christian militias.
It is the pontiff's first visit to a conflict zone and the final stop on his landmark three-nation African tour.
Acting President Catherine Samba-Panza has asked him for "forgiveness" for the country's recent religious violence.