JERUSALEM — Hundreds of thousands of people attended the funeral Sunday of a prominent ultra-Orthodox rabbi in a city in central Israel.