Ferdinando de ' Medici , Grand Prince of Tuscany ( 9 August 1663 â `` 31 October 1713 ) was the son of Cosimo III de ' Medici , Grand Duke of Tuscany and Marguerite Louise d'Orl Ã ans . Ferdinando de ' Medici ( 9 August 1663 -- 31 October 1713 ) was the elder son of Cosimo III de ' Medici , Grand Duke of Tuscany , and Marguerite Louise d'Orl Ã ans .