Hadith 1421
It is narrated from Sayyidah Aisha (may Allah be pleased with her) that the Noble Prophet (peace and blessings be upon him) said: "When any one of you feels drowsy while praying, he should sleep until the sleepiness goes away, because it is possible that instead of seeking forgiveness, he may curse himself."