US President Joe Biden had urged Hamas to accept a ceasefire plan with Israel before the Muslim fasting month begins.