Thousands of Palestinians sought refuge in mosques, partially damaged buildings, after their tents collapsed due to heavy rain and strong winds