"Before he makes another inflammatory speech, Mr Trump should learn more about the Muslims that offends almost every time he opens his mouth," said the statement from the Annandale and Roxburgh Street mosques in Edinburgh published in the Herald Scotland.
"We would welcome the opportunity to show him the work that we are doing in the community in Edinburgh when he comes to Scotland later this month," it said.
Contacted by AFP, Mohammad Saleem Irshad from the Annandale Mosque said: "We wanted to tell Mr Trump that what he thinks about Muslims is not a reality".
Trump has said he will arrive in Britain on June 22 and inaugurate his Trump Turnberry golf resort in southwest Scotland on June 24, prompting calls from political leaders and activists for protests.
The billionaire tycoon would then visit the second golf course he owns in Scotland and one in Ireland, he said in a series of tweets earlier this month.
Trump caused global furore by calling for a ban on Muslims entering the United States after a killing spree by a US-born Muslim and his Pakistani wife in December apparently inspired by the Islamic State group.