The large-scale event was organised by BDCyclists, a non-profit social community that aims to promote healthy living as well as reduce congestion and pollution in the area by encouraging locals to cycle to work.
"We are general people like students, a service holder, a business person having a common goal of staying healthy in this stressful life and ride for recreation, commute, health, and sheer fun - which is a community initiative," said a spokesperson for the organisation.
About 1,200 people started the challenge, but a few were disqualified for breaking the formation.
Nevertheless, 1,186 cyclists was more than enough to break the previous record of 984 that was achieved in 2015 during the Sarajevo Grand Prix in Sarajevo, Bosnia and Herzegovina.