It was another record-making trifecta for Wall Street on Monday as stocks got a big boost from another rally in crude oil. 

The S&P 500 added 0.28%, closing at 2,190, above its previous record of 2,184 set on Thursday. The Dow Jones Industrial Average rose 0.32% to 18,635, above its Thursday record of 18,576. The Nasdaq increased 0.56% to 5,262, its best level since hitting a record 5,232 on Friday. All benchmark indexes hit all-time intraday highs earlier in the session.

Crude oil moved higher for the third straight day on high hopes for a production freeze agreement from major oil-producing countries. Reports suggested Russia's energy minister has been in talks with Saudi Arabia to achieve oil market stability. The Organization of Petroleum Exporting Countries is set to meet next month.

West Texas Intermediate crude oil, the U.S. benchmark, closed 3.19% higher at $45.91 a barrel, its best settlement since July 20.

"As gossip of production cuts from OPEC resurface, the Russian energy minister Alexander Novak stated that Russia is interested in entering into production negotiations," said Daniel Holder, commodity analyst at Schneider Electric. "The chance of a global coordinated cutback is a bullish factor."

The S&P 500 ended last week just points from another new record as disappointing data on Friday failed to overshadow a blockbuster Thursday. A surge in crude oil and better-than-expected quarterly performance from the retail space helped to drive benchmark indexes to record closes on Thursday, the first time the S&P 500, Nasdaq and Dow have all beaten records on the same day since 1999. The Nasdaq also netted a new record close on Friday afternoon with minor gains.

Builder confidence improved in August, a sign that construction could catch up with demand in coming months. The National Association of Home Builders index rose by two points to 60 in August, above an estimate of 59. The NAHB said new construction and new home sales are on the rise in most areas of the U.S.

Business activity in the New York region, however, worsened in August, according to the Empire State Manufacturing Survey. Manufacturing weakened to negative 4.2 in August, down from positive 0.6 in July. The reading came in below estimates.

Mid-America Apartment Communities (MAA)  declined by 5% Monday after confirming plans to purchase Post Properties (PPS) . The all-stock deal values Post Properties at roughly $3.9 billion. The offer is equivalent to around $72.53 a share and values Post Properties at a 17% premium to Friday's close. The deal is expected to close in the fourth quarter. Post Properties' stock climbed by 10%.

Xylem (XYL) announced an agreement to purchase utility data analytics company Sensus for roughly $1.7 billion in an all-cash deal. The water treatment company said Sensus' technologies will offer its customers "greater energy efficiency, water conservation and improved life-cycle costs." The acquisition is expected to close by the end of the year.

Twitter (TWTR) traded at seven-month highs, rising by 7% to close at nearly $21, after a New York Times report said the social networking platform is in talks with Apple (AAPL) for an app on Apple TV streaming a number of National Football League games. Twitter already has a deal with the NFL to stream a select number of football games.

More from Markets

Apple and GE Switch Roles; Musk's Super Control of Tesla Explained -- ICYMI

Apple and GE Switch Roles; Musk's Super Control of Tesla Explained -- ICYMI

Trump May Be More to Blame For Higher Oil Prices Than OPEC

Trump May Be More to Blame For Higher Oil Prices Than OPEC

Dow Falls Over 200 Points as Apple's Slump Offsets Gains in General Electric

Dow Falls Over 200 Points as Apple's Slump Offsets Gains in General Electric

Week Ahead: Major Earnings on Tap as Wall Street Readies for Geopolitical Moves

Week Ahead: Major Earnings on Tap as Wall Street Readies for Geopolitical Moves

3 Hot Reads From TheStreet's Top Premium Columnists

3 Hot Reads From TheStreet's Top Premium Columnists