# Many have the custom to stay up Shavuot night [[learning Torah]]. <ref> Magen Avraham (Intro to 494) quotes the Zohar that says that the early Chasidim would learn all of Shavuot night. Birkei Yosef 494:8, Mishna Brurah 494:1, Kaf HaChaim 494:6, Yalkut Yosef Moadim page 438, and Aruch HaShulchan 494:3 also record this minhag.</ref> There are several halachot that those who follow this practice should bear in mind:
# According to Ashkenazim, after daybreak <ref> Regarding [[Netilat Yadayim]] and Birkot HaTorah, it’s clear that if they are to be made, they shouldn’t be said until Alot HaShachar. Nitei Gavriel 18:1 and 20:1 writes so explicitly. Regarding Birchot HaShachar, Kaf HaChaim 46:49 writes that one can say all of them at [[Chatzot]], however, Piskei Teshuvot 46:14 rules that one should wait until Alot HaShachar. Regarding Tallit, S”A 18:3 rules that one may not make the Bracha until [[MeSheYakir]]. </ref>, one should use the bathroom, thus dirtying one’s hands, wash his hands for [[Netilat Yadayim]] with a Bracha, and then say [[Asher Yatzar]]. <Ref> <span id="netilat"></span>
* The Rosh ([[Brachot]] 9:23) writes that the reason a person must wash his hands in the morning is that one's hands almost certainly touched an unclean area. The Rashba (responsa 1:191), on the other hand, writes that the reason is that a person is created anew each morning. The Bet Yosef 4:13 writes that according to the Rosh, one who stays up all night doesn't have to wash because one can ensure that his hands stay clean, while according to the Rashba, one is created anew whether he slept or not. Because of this dispute, S”A and Rama 4:13 rule that one should wash without a bracha. Magen Avraham 494, Taz 4:9, Beiur HaGra 4:13, Birkei Yosef 46:12, and Mishna Brurah 494:1 agree. See, the Bach 4, Aruch HaShulchan 4:12, and Maaseh Rav (#2) who argue that one who didn’t sleep can say the Bracha.