Most likely it was Abu Saeed Khudri, for I myself saw the man being struck with palm stalks.
حدثنا أحمد بن سعيد الدارمي حدثنا وهب عن أبيه عن ابن إسحق بإسناده ومعناه إلا أنه قال عند قوله مكان الذي حدثني هذا
وأكثر ظني أنه أبو سعيد الخدري فأنا رأيت الرجل يضرب في أصول النخل
No references are available.
Its isnad is daif. Bayhaqi: 6/99 narrated it from the hadith of Abu Dawud, through the same chain. See also the previous hadith no. 3074.