Hernani joined Olympiakos from Porto last summer but his displays were below-par this season.
Olympiakos have to take a decision over his buy-out clause, however according to LiveSport newspaper the Greek giants will let him return to Porto as Marco Silva has not been convinced from his performances.