Imsak means the beginning time for the morning prayer and the beginning time of fasting. Those who want to fast must stop eating and drinking from this time on.

For this reason, a person who has gone to bed after eating and drinking and intending to fast can also eat and drink until imsak if he wakes up at night.