טעמי המנהגים, Segulot Segulot · צ
Ta'amei HaMinhagim 7
א
A charm [segulah] for pregnancy and raising children:
A woman who is forlorn about raising [her] children or who doesn't have any at all, God forbid, should say the haftarah of the first day of Rosh Hashanah [the story of Hannah miraculously giving birth to Samuel] after she lights candles [at the onset of Shabbat]. She should also give a few coins to charity before lighting the candles, though every woman should do that. And through this, they will merit to have proper children who are Torah scholars. [From] the book, Shaarei Emunah, in the name of the book, Zer Zahav, that there is a tradition about this in the holy city of Jerusalem from Ari, may his memory be blessed.
A woman who is forlorn about raising [her] children or who doesn't have any at all, God forbid, should say the haftarah of the first day of Rosh Hashanah [the story of Hannah miraculously giving birth to Samuel] after she lights candles [at the onset of Shabbat]. She should also give a few coins to charity before lighting the candles, though every woman should do that. And through this, they will merit to have proper children who are Torah scholars. [From] the book, Shaarei Emunah, in the name of the book, Zer Zahav, that there is a tradition about this in the holy city of Jerusalem from Ari, may his memory be blessed.