From among the eleven rakʿahs of the night nāfilah,[1] eight rakʿahs must be performed with the intention of nāfilah of the night, two rakʿahs with the intention of the shafʿ prayer, and one rakʿah with the intention of the witr prayer. Full instructions on how to perform the nāfilah of the night are mentioned in the books of supplications (duʿāʾs).