IIRC, most of the famous Islamic scientists did their best work when they were in prison for contradicting their Islamic rulers.
Even in their “heyday”, most of the Muslim works were basically derivatives of Indian, Persian and Greek works, from antiquity.
They passed off the modern base-10 numeral system that is currently in use, complete with the concept of zero, as “Arabic” numerals, when in fact, all they did was borrow it from the Indians.