Early Islamic philosophy was positive towards scientific principles, later Islamic philosophy actively hostile:
https://en.wikipedia.org/wiki/The_Incoherence_of_the_Philoso...
https://en.wikipedia.org/wiki/The_Incoherence_of_the_Philoso...
Curiously, many of the lethargy, idleness and sense of pointlessness came through sufism. Sufism itself has also many roots (including Greek, and later Andalusian twists), and has a wide spectrum. Ghazzali (the author of The Incoherence) himself was heavily affected by Sufi themes before he wrote 'the Incoherence'; but that book, a rationalist attack on some form of rationalism itself, has many valid points though.