It is possible to be both religious and a humanist. For me, humanism means attributing weight and importance to the individual human experience. Historically, some religious practioners have neglected the individual experience of themselves and others, preferring to prioritise the literal religious doctrine in all circumstances. However there is not necessarily a contradiction between religion and humanism.
An example of a non-humanistic approach to Buddhism would be to treat all individuals like pebbles on a beach and, rather than consider their own individual circumstances, encourage them simply to adhere to Buddhist doctrine in the expectation that it will resolve their problems. On the other hand, a humanistic approach would encourage the practice of meditation as a form of compassionate, internal listening, a pre-requisite for the sensitive integration of Buddhist teaching in your life.
In Islam, the Qur’an contains the verse “We will show them Our signs on the horizons and within themselves until it becomes clear to them that it is the truth.” (Q41:53). The Arabic word for ‘signs’ is also used to refer to Qur’anic verses themselves. Therefore we can understand that in Islam there are three principal loci of revelation: the natural world (‘horizons’), the psyches of individuals (‘within themselves’) and the Qur’an.
In recent years there have been movements in the Islamic world to reconcile modern understanding of the natural world (science) with Qur’anic revelation, and there is also a long-standing humanistic current in Islam which reconciles individual psychology with revelation. For example, the 13th century poet Rumi was both steeped in Qur’an and sensitive to individual experience, comparing the human psyche to a guest house and suggesting that we (the hosts) treat all our guests (cognitive, emotional & spiritual states) with kindness and respect.
“This being human is a guest house.
Every morning a new arrival.
A joy, a depression, a meanness,
some momentary awareness comes
as an unexpected visitor.
Welcome and entertain them all!
Even if they are a crowd of sorrows,
who violently sweep your house
empty of its furniture,
still, treat each guest honorably.
He may be clearing you out
for some new delight.
The dark thought, the shame, the malice.
meet them at the door laughing and invite them in.
Be grateful for whatever comes.
because each has been sent
as a guide from beyond.”
— Jelaluddin Rumi,
translation by Coleman Barks