ALLAH will never ask you about something you never do.
عن أبي عبد الله الصادق(ع): "إنّ المؤمن ليهمّ بالحسنة ولا يعمل بها
فتكتب له حسنة، وإنْ هو عملها كتبت له عشر حسنات، وإن المؤمن ليهمّ
بالسيئة أن يعملها فلا يعملها فلا تكتب عليه" (الكافي ج2 ص429)
Abu Abdullah al-Sadiq (AS): "The believer does not matter with good
works is recorded him well, ...
A rather general statement, saying that everything comes from Allah (especially guidance), can be found in several verses of the Qur'an like:
And whatever you have of favor - it is from Allah . ... (16:53)
Let's start with mercy, first a quote from the qur'an:
... "but My mercy encompasses all things" ... (7:156)
So it is Allah's mercy that ...
I am not a scholar, just saying. And forgive me for the long answer as the question is philosophically complex.
Islam forces the principle "the end doesn't justify the means." So inaction would be the appropriate course of action in this scenario and pulling the switch would be a great sin.
Islam establishes rules similar to 'Categorical Moral Imperatives' ...
First of all when it comes to the fiqh ruling on treatment scholars hold different opinions:
Most scholars or a majority out of them say it is permissible (not obligatory).
The shafi'is and some hanabalis say it is mustahabb (recommended).
The majority of the hanbalis even say that leaving it is better.
In case that the treatment or medicament has been ...
Indeed, those who fear Allah - when an impulse touches them from
Satan, they remember [Him] and at once they have insight.
Whoever comes [on the Day of Judgement] with a good deed will have ten
times the like thereof [to his credit], and whoever comes with an evil
deed will not be recompensed except the like thereof; ...