Bangladesh authorities have arrested the prime suspect in the murder of American blogger Avijit Roy who was hacked to death on a Dhaka street last week.
Rahman who is a blogger was also arrested in relation to the murder of another atheist blogger, Ahmed Rajib Haider, in February 2013, but was released.
Bangladesh's elite security force said they had arrested Rahman who they described as an Islamist on Monday, March 2 over last week's murder of the atheist American blogger Avijit Roy, accusing him of being behind earlier death threats on social media.
"He is the main suspect in the killing of Roy," said a spokesman for the Rapid Action Battalion (RAB) after Farabi Shafiur Rahman was arrested in the capital Dhaka.
"He is a fundamentalist blogger," RAB spokesman Major Maksudul Alam told AFP, adding that according to "primary information", Farabi had threatened Roy through Twitter and Facebook.
"(Roy's) family told us that he got threats from Farabi several times," he added.
According to Deccan Chronicle, a source in the RAB said the elite force, mainly tasked with tackling religious militancy in the Muslim-majority nation, has seen correspondence between Farabi and another person about killing Roy.
Rahman has been known for his Facebook postings against atheist writers and Islamophobes.
Roy, who was the founder of the Mukto-Mona (Free-mind) blog, was born in Bangladesh but moved to Atlanta in the southern US state of Georgia around 15 years ago.
He and his wife, who was also badly injured in the attack, had been returning from a book fair when they were both hauled off their rickshaw by two assailants who then slashed them with the machetes.
Roy is the second Bangladeshi atheist blogger to have been murdered in two years and the fourth writer to have been attacked since 2004.