The core source for the practice traces to Yam Shel Shlomo (Bava Kamma 7:37), who rules that a meal held in celebration of a boy becoming bar mitzvah carries the status of a seudat mitzvah, placing it alongside the feasts of brit milah, pidyon haben, siyum, and dedication of a house, while ordinary engagement or housewarming parties do not qualify.
Mishnah Berurah (225:6-8) and Kitzur Shulchan Arukh (61:8) both codify that it is a mitzvah for a father to make a seudah on the day his son becomes bar mitzvah, and that if the youth delivers a drashah, that meal is considered a seudat mitzvah even if held on a different day than the bar mitzvah itself — drawing directly on the ruling of Yam Shel Shlomo (Bava Kamma 7:37).
Arukh HaShulchan (Orach Chaim 225:4) situates this practice within the broader halacha of the bar mitzvah day, explaining that the father's blessing of "who has exempted me from this one's punishment" reflects that responsibility for the son's observance shifts from father to son at this age, which is the occasion the festive meal and the boy's own participation through Torah marks.
Responsa Benei Banim (Volume II 17:8-9) takes up the practical question directly, citing the Magen Avraham's report of the Yam Shel Shlomo that a youth's drashah makes the accompanying meal a seudat mitzvah even off the actual day, and engaging with the Divrei Malkiel's understanding that this applies specifically to a case where the boy had not yet begun laying tefillin and the seudah was held on the day he began, and the Divrei Malkiel's disagreement with the Magen Avraham's broader formulation — showing that later poskim debated exactly how far the original heter extends.
Igros Moshe (Orach Chaim 1:158) addresses the general principle that completing a mitzvah or a sustained, serious period of Torah study warrants joy and a festive meal, qualifying this by insisting that the learning behind any such celebration — including, by extension, a drashah of this kind — must rest on the authentic interpretations of the Rishonim and not on unreliable novel readings.
Nitei Gavriel (Bar Mitzva, perek 4) describes the broader culture surrounding the bar mitzvah occasion, noting that the boy should be brought before elders to receive their blessings and encouragement toward Torah study, situating the drashah within this larger framework of marking the boy's entry into obligation through dedication to learning.