This episode highlights two perspectives in early philosophy within Muslim contexts. Al-Kindi (d. 860s) viewed philosophy and religion as compatible and important whereas al-Razi (d.925) was skeptical of revelation and prophets.
Sources and further readings:
A History of Islamic Philosophy by Majid FakhryIslamic Philosophy A-Z by Peter S. GroffIslamic Philosophy: an Introduction by Oliver LeamanThe Cambridge Companion to Arabic Philosophy Edited by P. Adamson/R.C. Taylor