Police foiled attack on Moharram