The Sikhism code of conduct Reht Maryada, is based on 52 hukams or edicts issued by Tenth Guru Gobind Singh in 1708 in Nanded and sent to the Sikhs living in Kabul and Hazoor Sahib. The 52 hukamnamas or edicts giving instruction on appropriate behavior were written by order of Guru Gobind Singh and copied down by Baba Raam Singh Koer whose great grandfather was Bhai Baba Buddha. Guru Gobind Singh affixed his personal seal to the document, a copy of which can be seen at historic Gurdwara Paonta Sahib built on the Yamuna river banks in the town of Paonta Sahib of Sirmaur in Himachal, Pradesh India about 44 kilometers from Dehradun.
Extract from THE 52 HUKAMS OR EDICTS
Jaman, maran, ja viah mokae jup da paatth kar tihaaval (Karaah Parsaad) kar anand sahib dia punj paurian, ardaas, pratham panj pyaariaan atae hazooree granthee noo vartaa kae oprunth sangat noo vartaaouna|
For birth naming, funeral, or marriage ceremonies or devotional reading paath, recite Japji Sahib while making Karah Prashad, perform five verses of Anand Sahib, and ardaas, and then distribute Karah Prashad to the Panj Pyare, attending Granthi, and then to the sangat gathered for worship.
Jab tak Karaah Parshaad vartadaa rahae sadh sangat addol batthee rahae|
Until Karaah Parshaad has been served to everyone, the congregation ought to be still and remain seated.
https://www.thoughtco.com/hukams-of-guru-gobind-singh-2993116