Marking lines on the straw mat of a Masjid to define the rows

A: It is permissible to mark such lines. However there is no problem if the people performing prayers stand with a slight deviation in direction without marking such lines.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.