Sutta Reference of Buddhism Not being a Philosophy
The raft is in MN 22.


  I shall show you, monks, the Teaching's similitude to a raft: as having the purpose of crossing over, not the purpose of being clung
  to.