It’s a cultural tradition that’s prevalent across South Asia that was started to prevent any devils/jinns from praying – similar to the stand shoulder by shoulder philosophy when praying – but there’s no basis in the Quran or Hadith for the folded corner.

Oh well, there you go, anon. Nikohl’s Persian, so I suppose the custom traveled there? Interesting.