The judge also bars the respondents from blocking Sunday Igboho's account.
The Oyo State High Court sitting in Ibadan has restrained the State Security Service (SSS) and the Attorney General of the Federation (AGF) from arresting and blocking the account of Sunday Adeyemo, popularly known as Sunday Igboho.
Ladiran Akintola gave the order on Wednesday after listening to the motion ex parte filed by Mr Igboho's counsel, Yomi Alliyu, a Senior Advocate of Nigeria (SAN).
Mr Alliyu had moved the motion ex parte, urging the court to grant his application.
The News Agency of Nigeria (NAN) reports that other respondents in the suit are the Director of State Services, Oyo State and the AGF.
NAN also reports that none of the respondents was in court or represented by counsel.
Delivering his ruling, Mr Akintola said he was satisfied with the explanation provided by the applicant's counsel evidencing the urgent need to grant the application.
The judge ordered and restrained the respondents, their agents or any other security agents acting on their behalf from killing, arresting, detaining or harrassing Mr Igboho.
Mr Akintola also restrained the respondents from interfering with the applicant's fundamental rights to life, personal liberty, freedom of movement and enjoyment of his property without fear of invasion of his home.
The judge further ordered the respondents not to block the account of the applicant in any bank or placing no debit on it and to lift same where they had so acted, pending the hearing and determination of the suit.
He adjourned the case till August 18, for hearing of the main suit.
Mr Alliyu had informed the court that the life of his client was being threatened after the invasion of his house on July 1 by SSS officials.
The counsel informed the court that his client's property were damaged and one of the occupants killed by the security agents during the invasion.
He tendered exhibits and a written address to support his motion.