Was Hashirama in Sage Mode while he summoned the huge wooden buddha with few thousand hands?
Yes, it is Sage Mode, since Senpou means Sage Art. The technique is Senpou Mokuton: Shinsuusenju (Sage Art Wood Release: True Several Thousand Hands).