nightcap
n//ˈnaɪtˌkæp//nattmössa, sängfösare
(headwear) A warm cloth cap worn while sleeping, often with pajamas, being common attire in northern Europe before effective home heating became widespread. [From 14th c.]
A beverage drunk before bed that is usually alcoholic. [From 1818.]