Midrash for Bava Batra 253:8
אמר רבא תניא כוותיה דר' אמי בן ולא טומטום בכור ולא ספק
Raba said: It was taught in agreement with [the view] of R. Ammi:<span class="x" onmousemove="('comment',' That a tumtum, though found after an operation to be male, is not entitled to the birthright. ');"><sup>25</sup></span> [The expression.] a Son,<span class="x" onmousemove="('comment',' Deut. XXI. is. ');"><sup>26</sup></span> [Implies], but not a <i>tumtum</i>;<span class="x" onmousemove="('comment',' I.e., a birth, though found later to be made. ');"><sup>27</sup></span> [the expression] a firstborn,<span class="x" onmousemove="('comment',' Ibid. ');"><sup>28</sup></span>
Sifrei Devarim
"and the first-born": and not one whose first-born status is in doubt.
Ask RabbiBookmarkShareCopy