BT BB 126b(31) :בוכרא דאימא קרי ליה בוכרא סכלא דאבא לא קרו ליה בוכרא סיכלא
: the firstborn of the mother is called 'foolish' firstborn [i.e. lacking privileges of the firstborn]. The firstborn of the father is not called 'foolish' firstborn
See the entire entry for būḵrā, būḵrṯā (bḵurtā) n.f. firstborn, first blossoming