I don't know about bananas, but adding an apple to a paper sack with unripe pears hastens the ripening of the pears. This is due to the gas ethylene chloride that comes from the apple.