Ishan Kishan and all-rounder Hardik Pandya saved the team by making a record fifth-wicket stand in an ODI match against Pakistan.