God takes the souls at the time of their death , and those that have not died during their sleep . He retains those for which He has decreed death , and He releases the others until a predetermined time .