President Obama has given his support to the Islamic community in the great debate on whether or not to build a mosque near ground zero.