The cleric was stopped in Gauri Bazar area here as a precautionary measure while he was on way to police officer's house in Zafuaar Tola in Noonkhar village, officials said.
The step was taken to maintain law and order, they said.
Bukhari told PTI by telephone that he was stopped from visiting the slain DSP's house to offer his condolences to the the bereaved family.
"I was going there to offer my condolences and take part in namaz-e-janaza. The authorities did not give any reason for for stopping me from visiting the police officer's house," he said.
He said Chief Minister Akhilesh Yadav had accepted his demand for raising the ex gratia for the bereaved family and providing a job to the police officer's widow.
The DSP was killed by a mob in Pratapgarh district on Saturday when he had rushed there after a village head was shot dead over a land dispute.