Related for Kiddushin 151:9
רבי יוסי אומר אף מי שהיה חתום עד בערכי הישנה של ציפורי רבי חנינא בן אנטיגנוס אומר אף מי שהיה מוכתב באסטרטיא של מלך
[VIZ. ,] HER MOTHER AND HER MOTHER'S MOTHER, HER MOTHER'S PATERNAL GRANDMOTHER<span class="x" onmousemove="('comment',' Lit., 'and her father's mother'.');"><sup>16</sup></span> AND HER MOTHER, HER FATHER'S MOTHER AND THIS ONE'S MOTHER, HER FATHER'S PATERNAL GRANDMOTHER AND HER MOTHER.<span class="x" onmousemove="('comment',' Thus the four are: her mother, her mother's paternal grandmother, her father's mother, and her father's paternal grandmother. Further, the mother of each of these is added, which gives eight. All these are examined, to see that none are unfit for a pure marriage.');"><sup>17</sup></span> [IN THE CASE OF] THE DAUGHTER OF A LEVITE OR AN ISRAELITE, ONE MORE IS ADDED.<span class="x" onmousemove="('comment',' I.e., one generation further removed on the maternal side in both lines: to her mother and her mother's mother we add her mother's maternal grandmother, and to her father's grandmother, we add one mother more.');"><sup>18</sup></span>