I am using the R function of prop_test (from stats package) to test whether the proportions in k samples (k=5) are identical. However, the documentation does not provide references for the k-sample test. They only provide references for the two-sample test. See here: https://stat.ethz.ch/R-manual/R-devel/library/stats/html/prop.test.html.
I would appreciate it if you can share some references on the k-sample z test.