وَمَنْ جَامَعَ بَعْدَ الْوُقُوفِ بِعَرَفَةَ لَمْ يَفْسُدْ حَجُّهُ وَعَلَيْهِ بَدَنَةٌ
Translation: Whoever has intercourse after standing at Arafat does not invalidate the Hajj, but owes a badanah.
Once the pilgrim has stood at Arafat, the consequence changes: the Hajj is not invalidated, but a badanah is due. The next clause makes an additional distinction for intercourse after shaving.
A badanah refers to a major sacrificial animal, commonly a camel, and must not be confused with the sheep specified in other cases.