There is a case to be made about Algebra originating in the Arab world, but it is also worth noting that it was from a period before Islam formally rejected rational thought.
Most of algebra, as well as the "arabic" number system, came from Indian civilization, as well as Babylonian and Greek civilization. While there were Arab contributions, most of it was in the early days of Islam, while the culture was still a hybrid of Islam and the earlier civilizations.