שולחן ערוך, אבן העזר, Seder HaGet Seder HaGet · צה
Shulchan Arukh, Even HaEzer 273
והא דקטנה מתגרשת דוקא כשמבחנת בין גיטה לדבר אחר דהיינו שנותנים לה צרור וזרקתו אגוז ונטלתו או שהגיעה לעונות הפעוטות דהיינו כבר שית וכבר שבע כל חד לפום חורפיה אבל פחות מכאן אינה מתגרשת לדעת רש"י ז"ל אפי' ע"י אביה ולדעת ר"ת דוקא ע"י עצמה אבל על ידי אביה מתגרשת ולזה הסכים הרא"ש ז"ל:
A minor may be divorced only when she can tell the difference between her get and some other object, such that she will take a bundle and throw it away, or take a nut and keep it, or when she has reached the age of children, which is six or seven. But younger than that, she may not be divorced, according to Rashi, even by her father. But according to Rabbenu Tam, this ruling is specific to being divorced by herself and she may be divorced by her father, and the Ro"sh agreed with this.