how is divorce law fair in islam

Re: how is divorce law fair in islam

First thanks for the great insight!

Just for my knowledge (out of curiosity), what is the basis of contesting in a court and getting Mahr back (i.e. from Quran, Hadith, or usool-al-Fiqh)?