The Prime Minister and Home Affairs Minister Tony Burke were attending prayers to mark the end of Ramadan.