| 1 | A | B | C | D | E | F |
| --- | --- | --- | --- | --- | --- | --- |
| 2 | 2005 Pengkalan Pasir by-election - Election results |  |  |  |  |  |
| 3 | Party | Party | Candidate | Votes | % | ∆% |
| 4 | - | BN | Hanafi Mamat | 7,422 | 49.07 | 0.73 |
| 5 | - | PAS | Hanifa Ahmad | 7,288 | 48.19 | 2.01 |
| 6 | - | Independent | Ibrahim Ali | 415 | 2.74 | N/A |
| 7 | Total valid votes | Total valid votes | Total valid votes | 15,125 | 100.00 | - |
| 8 | Total rejected ballots | Total rejected ballots | Total rejected ballots | 325 | - | - |
| 9 | Unreturned ballots | Unreturned ballots | Unreturned ballots | 0 | - | - |
| 10 | Turnout | Turnout | Turnout | 15,450 | 73.00 | - |
| 11 | Registered electors | Registered electors | Registered electors | 18,411 | - | - |
| 12 | Majority | Majority | Majority | 134 | 0.88 | - |
| 13 | - | BN gain from PAS | BN gain from PAS | Swing | Swing | ? |

Question: How many votes did Hanafi Mamat and Hanifa Ahmad each earn in the 2005 Pengkalan Pasir by-election, and what was Hanafi's winning margin of votes?
Answer: Hanafi won 7,422 votes, defeating Hanifa, who polled 7,288 votes, by a margin of 134 votes.