The Chief Justice of Nigeria said the National Judicial Council decided to suspend the judges after the govt resorted to prosecute them.
Mohammed said this on Monday, November 7, at the swearing-in of Amina Augie and Ejembi Eko as justices of the Supreme Court.
He expressed the commitment of the judiciary to upholding its independence.
According to him, all courts in the country are empowered to adjudicate with utmost fairness and justice as prescribed by the constitution.
He said: "Certainly, the decision of the National Judicial Council at its last meeting reflects our desire to preserve this independence.
"Hence, we proclaimed to the world that any judicial officer that is standing trial will cease to perform judicial functions.
"The council took this stand following communications it received from the attorney-general of the federation that he was embarking on the prosecution of the affected judicial officers for the offences disclosed against them.
"We must not forget that we operate a constitutional democracy, which clearly prescribes the powers accorded to each organ of the State.
"I therefore wish to state without fear of contradiction that the third arm of government will remain resolute in its commitment and resolve to uphold its independence."
Mohammed urged the new justices to continue to be diligent in the discharge of their duties.
"You must remain blind to personality and status, and remain the hope of all men, whether common or uncommon," he said.
"Hence, the integrity and impartiality of our courts must not be in question or compromised.
"I am confident that with the institutions and initiatives that we have put in place, the Nigerian judiciary will evolve to meet the high standards demanded by our citizens."
The Department of State Service (DSS) had in what it described as a sting operation raided the homes of eight judges last month, and arrested seven of them on corruption allegations.