When Syeda Sideeqa Tahira Raziya Marziya (SA) said these verses to abu bakar (Jamaat mukhalifeen tell us they were not about the inheritance)
Fakhr al-Din al-Razi mentions in his Tafsir al-Razi Vol. 11, pg. 156 regarding verse (19:6) Surat Maryam:
وثالثها: يرثني المال ويرث من آل يعقوب النبوة وهو قول السدي ومجاهد والشعبي وروي أيضاً عن ابن عباس والحسن والضحاك.
The third: ‘Inherit material possessions and inherit Prophethood from children of Yaqub, this is the statement of al-Siddi, Mujahid, al-Sha’bi and also narrated by Ibn Abbas, al-Hasan (al-Basri) and al-Dhahak.’