Sahih Bukhari#1314
The dead are put to sleep after death until the Day of Resurrection (36:52), and there is a barrier to prevent them from going back until the day they are all resurrected (23:100). Please see 45:6-7, and 6:112-113