Was it Allah?
Mohammed?
Or the compilers of Quran?
In sura 59 (ol-Hashar), however, God takes pride in the eradication of the Nadir tribe and describes it as a merited punishment for their persistent adherence to Judaism. Abdollah b. ol-Abbas is reported to have given the name Surat Bani'n-Nadir to this sura.
http://ali-dashti-23-years.tripod.com/
Is that not interesting? I never thought about it, I always assumed the name of the chapter came down with the revelation. Were the revelations even chaptered?