In addition to preaching, he also taught at his pesantren in Beji Village, Cilegon. The three principal teachings distributed to his students are about tawhid, fiqh, and tasawwuf. Together with his comrades: Hajji Abdurahman, Hajji Akib, Hajji Haris, Hajji Arsyad Thawil al-Bantani, Hajji Arsyad Qashir, and Hajji Tubagus Ismail, they spread the teachings of Islam to the people. . Wasyid married Atikah, a girl from Beji, Cilegon. From his marriage he was blessed with two children: Muhammad Yasin and Siti Hajar. Siti Hajar was married to Ki Alwi and has a son named Syam'un who was an Indonesian Independence fighter figure, founder of Al-Khairiyah Citangkil, and Regent of Serang period 1945-1949. In addition to being a fighter and scholar who mastered the science of religion, before the outbreak of Cilegon war, Wasyid also served as an advisor to the Supreme Court (qadi) in Afdeling Cilegon. Wasyid was known as an ulama who preaches from one place to another to rekindle the spirit of jihad and invite people away from the act of shirk in the midst of a society that at that time trust in superstition. In 1887 before the Cilegon war, in the village of Lebak Kelapa, there was a big tree that was worshiped and considered sacred, able to destroy the disaster and grant the request as long as giving offerings to Jinn. Time and again Wasyid reminded the peoples that asking other than to Allah is shirk, but the warning was ignored. Seeing this situation Wasyid with some of his students cut down the idols trees at night. The destruction of the tree raises the anger of the tree owner. He then complain the incident to the Dutch government with allegations that Wasyid has done damage and harming him as the tree owner. On these charges Wasyid was finally arrested and tried in a colonial court on November 18, 1887. Wasyid was punishable by whip and imprisonment, and was fined 7.50 guilders. Wasyid was a Cilegon warlord (Geger Cilegon 1888) or also known as Wasyid war. The factors behind this event have been described by Wasyid: "first", two colonial government officials, the patih and prosecutors have forbidden Muslims to worship in the mosque.