Sayyiduna Ibn Abbas (may Allah be pleased with them both) said that giving a pledge in a salam sale is permissible.