Shulchan Arukh, Even HaEzer Siman 14
Can copy this into an AI, or connect the whole library to your assistant. For deeper learning, you can directly use the original seforim, sites, and apps.
שלא ישא אשה בימי האבל. ובו סעיף אחד
מתה אשתו או א' מקרוביו שחייב להתאבל עליו עד אימתי אסור לישא אשה נתבאר בטור יורה דעה סימן שצ"ב:
Wikisource Shulchan Aruch
If his wife or one of his relatives that he has to mourn died, until when is it prohibited for one to marry? It is explained in Tur YD Chp:392.