Australia's most senior Muslim cleric has met the leader of the Hamas government during a visit to the Gaza Strip.

The Mufti of Australia, Dr Ibrahim Abu Mohammed, is leading a delegation of Australian Muslim scholars to Gaza.

Local television has shown pictures of Dr Mohammed meeting with Hamas's political leader, Gaza's prime minister Ismail Haniyeh, on December 26.

"We came here in order to learn from Gaza... to learn steadfastness, sacrifice, and the defence of one's rights from them," Dr Mohammed said in remarks translated by Memri TV.

The military wing of Hamas is listed as a proscribed terrorist organisation by the Australian Government.

The Department of Foreign Affairs says it is up to the individuals in the delegation to make sure they do not breach Australian laws.