A Palestinian judge banned divorce during Ramadan because "people make hasty decisions when they are hungry".